jumpstorm/engine/components/Control.ts

12 lines
318 B
TypeScript

import { Component, ComponentNames, Velocity } from ".";
export class Control extends Component {
public controlVelocityComponent: Velocity;
constructor(controlVelocityComponent: Velocity = new Velocity()) {
super(ComponentNames.Control);
this.controlVelocityComponent = controlVelocityComponent;
}
}