blob: 119427d6bbb8ac37c185d4089ac167fa6f917f0d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
import type { Velocity2D } from "../interfaces";
import { Component } from "./Component";
import { ComponentNames } from ".";
export class Velocity extends Component {
public dCartesian: Velocity2D;
public dTheta: number;
constructor(dCartesian: Velocity2D, dTheta: number) {
super(ComponentNames.Velocity);
this.dCartesian = dCartesian;
this.dTheta = dTheta;
}
}
|