summaryrefslogtreecommitdiff
path: root/engine/components/Control.ts
blob: a3621b0c213971b98f921825d89b1af2711358dd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import { Component, ComponentNames, Velocity } from ".";

export class Control extends Component {
  public controlVelocityComponent: Velocity;

  constructor(
    controlVelocityComponent: Velocity = new Velocity(),
    controllableBy: string
  ) {
    super(ComponentNames.Control);

    this.controlVelocityComponent = controlVelocityComponent;
  }
}