diff options
Diffstat (limited to 'src/engine/components/Pushable.ts')
-rw-r--r-- | src/engine/components/Pushable.ts | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/engine/components/Pushable.ts b/src/engine/components/Pushable.ts new file mode 100644 index 0000000..b3d0dc4 --- /dev/null +++ b/src/engine/components/Pushable.ts @@ -0,0 +1,11 @@ +import { Component, ComponentNames } from "."; + +export class Pushable extends Component { + public pushable: boolean; + + constructor(pushable = false) { + super(ComponentNames.Pushable); + + this.pushable = pushable; + } +} |