diff options
Diffstat (limited to 'engine/components/Control.ts')
-rw-r--r-- | engine/components/Control.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/engine/components/Control.ts b/engine/components/Control.ts index beec82c..d3987d7 100644 --- a/engine/components/Control.ts +++ b/engine/components/Control.ts @@ -3,6 +3,7 @@ import { Component, ComponentNames, Velocity } from '.'; export class Control extends Component { public controlVelocityComponent: Velocity; public controllableBy: string; + public isControllable: boolean; // computed each update in the input system constructor( controllableBy: string, @@ -12,5 +13,6 @@ export class Control extends Component { this.controllableBy = controllableBy; this.controlVelocityComponent = controlVelocityComponent; + this.isControllable = false; } } |