diff options
author | Elizabeth Hunt <elizabeth.hunt@simponic.xyz> | 2023-08-21 17:22:23 -0600 |
---|---|---|
committer | Elizabeth Hunt <elizabeth.hunt@simponic.xyz> | 2023-08-21 17:22:23 -0600 |
commit | d64ffb5016119e54f0e20d05ae8ac9c96955d9d5 (patch) | |
tree | 11d47b519237b0266baa7208855bae19462a9abe /engine/components | |
parent | b786fe1e723b7cf905cdd7e525375dfe96241a21 (diff) | |
download | jumpstorm-d64ffb5016119e54f0e20d05ae8ac9c96955d9d5.tar.gz jumpstorm-d64ffb5016119e54f0e20d05ae8ac9c96955d9d5.zip |
very basic server messages - need to figure shit out still
Diffstat (limited to 'engine/components')
-rw-r--r-- | engine/components/Control.ts | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/engine/components/Control.ts b/engine/components/Control.ts index fb7b916..a3621b0 100644 --- a/engine/components/Control.ts +++ b/engine/components/Control.ts @@ -3,7 +3,10 @@ import { Component, ComponentNames, Velocity } from "."; export class Control extends Component { public controlVelocityComponent: Velocity; - constructor(controlVelocityComponent: Velocity = new Velocity()) { + constructor( + controlVelocityComponent: Velocity = new Velocity(), + controllableBy: string + ) { super(ComponentNames.Control); this.controlVelocityComponent = controlVelocityComponent; |