diff options
author | Elizabeth Hunt <elizabeth@simponic.xyz> | 2025-03-01 12:36:47 -0700 |
---|---|---|
committer | Elizabeth Hunt <elizabeth@simponic.xyz> | 2025-03-01 12:36:47 -0700 |
commit | 8dacee8f73633131fd68935c1e2493dc4beec837 (patch) | |
tree | fc9adf76fce4761b01208ba2f44e72a6838244aa /src/engine/components/Control.ts | |
parent | d903bd9a13e790cf42c84c3dc59bf89ffeae1d80 (diff) | |
download | the-abstraction-engine-8dacee8f73633131fd68935c1e2493dc4beec837.tar.gz the-abstraction-engine-8dacee8f73633131fd68935c1e2493dc4beec837.zip |
updates
Diffstat (limited to 'src/engine/components/Control.ts')
-rw-r--r-- | src/engine/components/Control.ts | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/engine/components/Control.ts b/src/engine/components/Control.ts index 48983b2..9196e3b 100644 --- a/src/engine/components/Control.ts +++ b/src/engine/components/Control.ts @@ -1,11 +1,7 @@ import { Component, ComponentNames } from "."; export class Control extends Component { - public isControllable: boolean = true; - - constructor(isControllable = true) { + constructor(public isControllable = true) { super(ComponentNames.Control); - - this.isControllable = isControllable; } } |