10 lines
No EOL
180 B
TypeScript
10 lines
No EOL
180 B
TypeScript
/**
|
|
* Collide-able objects.
|
|
*/
|
|
interface Collidable {
|
|
/**
|
|
* Determines when two entities collide
|
|
* @param o other entity
|
|
*/
|
|
collides(o: Entity): boolean;
|
|
} |