diff options
author | Elizabeth Hunt <elizabeth.hunt@simponic.xyz> | 2024-03-01 19:45:33 -0700 |
---|---|---|
committer | Elizabeth Hunt <elizabeth.hunt@simponic.xyz> | 2024-03-01 19:45:33 -0700 |
commit | d08e0105cbc59c6cc804f04aaf1e4e625a13960c (patch) | |
tree | 57d5270e146ce2e0c5cfba30e172ab87a2210514 /src/engine/components/Control.ts | |
parent | a8d07a790395e14fe7aedd3ba638db466f9c0842 (diff) | |
download | the-abstraction-engine-d08e0105cbc59c6cc804f04aaf1e4e625a13960c.tar.gz the-abstraction-engine-d08e0105cbc59c6cc804f04aaf1e4e625a13960c.zip |
eyes follow cursor
Diffstat (limited to 'src/engine/components/Control.ts')
-rw-r--r-- | src/engine/components/Control.ts | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/engine/components/Control.ts b/src/engine/components/Control.ts new file mode 100644 index 0000000..48983b2 --- /dev/null +++ b/src/engine/components/Control.ts @@ -0,0 +1,11 @@ +import { Component, ComponentNames } from "."; + +export class Control extends Component { + public isControllable: boolean = true; + + constructor(isControllable = true) { + super(ComponentNames.Control); + + this.isControllable = isControllable; + } +} |