Initial commit
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
import { Component } from "$/common/ecs/component.ts";
|
||||
|
||||
export class Velocity extends Component {
|
||||
vx: number;
|
||||
vy: number;
|
||||
|
||||
constructor(vx: number, vy: number) {
|
||||
super();
|
||||
this.vx = vx;
|
||||
this.vy = vy;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user