jumpstorm/engine/components/Control.ts

12 lines
318 B
TypeScript
Raw Normal View History

2023-08-12 15:49:16 -04:00
import { Component, ComponentNames, Velocity } from ".";
2023-07-19 23:38:24 -04:00
export class Control extends Component {
public controlVelocityComponent: Velocity;
2023-08-12 15:49:16 -04:00
constructor(controlVelocityComponent: Velocity = new Velocity()) {
2023-07-19 23:38:24 -04:00
super(ComponentNames.Control);
2023-08-12 15:49:16 -04:00
this.controlVelocityComponent = controlVelocityComponent;
2023-07-19 23:38:24 -04:00
}
}