summaryrefslogtreecommitdiff
path: root/engine/components
diff options
context:
space:
mode:
authorElizabeth Hunt <elizabeth.hunt@simponic.xyz>2023-08-21 17:22:23 -0600
committerElizabeth Hunt <elizabeth.hunt@simponic.xyz>2023-08-21 17:22:23 -0600
commitd64ffb5016119e54f0e20d05ae8ac9c96955d9d5 (patch)
tree11d47b519237b0266baa7208855bae19462a9abe /engine/components
parentb786fe1e723b7cf905cdd7e525375dfe96241a21 (diff)
downloadjumpstorm-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.ts5
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;