From d64ffb5016119e54f0e20d05ae8ac9c96955d9d5 Mon Sep 17 00:00:00 2001 From: Elizabeth Hunt Date: Mon, 21 Aug 2023 17:22:23 -0600 Subject: very basic server messages - need to figure shit out still --- engine/components/Control.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'engine/components') 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; -- cgit v1.2.3-70-g09d2