blob: a8dae590d6dc05674f02b2a802d9cccc63cbdd48 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
import { Component, ComponentNames, Velocity } from ".";
export class Control extends Component {
public controlVelocityComponent: Velocity;
public controllableBy: string;
constructor(
controllableBy: string,
controlVelocityComponent: Velocity = new Velocity(),
) {
super(ComponentNames.Control);
this.controllableBy = controllableBy;
this.controlVelocityComponent = controlVelocityComponent;
}
}
|