CabinGame/Program/src/Components/position.ts

11 lines
217 B
TypeScript
Raw Normal View History

import { Point } from "../Datatypes/point"
2020-02-06 11:02:44 +00:00
import { Component } from "ecsy"
// Position component
2020-02-06 11:02:44 +00:00
export class Position extends Component {
value: Point
reset() {
this.value = new Point(0, 0)
}
}