vertecs
Version:
A typescript entity-component-system framework
23 lines (17 loc) • 526 B
text/typescript
import { Vec3Like } from "ts-gl-matrix";
import { Component, Entity } from "../core";
export default class Collision extends Component {
public constructor(position: Vec3Like, collidingWith: Entity) {
super();
this.
this.
}
public get position(): Vec3Like {
return this.
}
public get collidingWith(): Entity {
return this.
}
}