From 2dc3120831fbcd03b635bbad59213ff0bf1f8879 Mon Sep 17 00:00:00 2001 From: Elizabeth Hunt Date: Sun, 13 Aug 2023 17:09:12 -0600 Subject: refactor velocity a bit for no real reason besides verbosity --- engine/components/Control.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'engine/components/Control.ts') diff --git a/engine/components/Control.ts b/engine/components/Control.ts index 1e782ee..fb7b916 100644 --- a/engine/components/Control.ts +++ b/engine/components/Control.ts @@ -1,11 +1,11 @@ import { Component, ComponentNames, Velocity } from "."; export class Control extends Component { - public controlVelocity: Velocity; + public controlVelocityComponent: Velocity; - constructor(controlVelocity: Velocity = new Velocity()) { + constructor(controlVelocityComponent: Velocity = new Velocity()) { super(ComponentNames.Control); - this.controlVelocity = controlVelocity; + this.controlVelocityComponent = controlVelocityComponent; } } -- cgit v1.2.3-70-g09d2