summaryrefslogtreecommitdiff
path: root/engine/components/Control.ts
diff options
context:
space:
mode:
authorElizabeth Hunt <elizabeth.hunt@simponic.xyz>2023-08-13 17:09:12 -0600
committerElizabeth Hunt <elizabeth.hunt@simponic.xyz>2023-08-13 17:09:12 -0600
commit2dc3120831fbcd03b635bbad59213ff0bf1f8879 (patch)
treedf1b6e88e8f0a9370e2cd321f52725524cc4d06d /engine/components/Control.ts
parent98e795029bcc404463ed151ff5255a72498bc641 (diff)
downloadjumpstorm-2dc3120831fbcd03b635bbad59213ff0bf1f8879.tar.gz
jumpstorm-2dc3120831fbcd03b635bbad59213ff0bf1f8879.zip
refactor velocity a bit for no real reason besides verbosity
Diffstat (limited to 'engine/components/Control.ts')
-rw-r--r--engine/components/Control.ts6
1 files changed, 3 insertions, 3 deletions
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;
}
}