Collision for obstacles
This commit is contained in:
parent
7dd557f968
commit
ce48419a40
3 changed files with 19 additions and 3 deletions
3
frontend/models/Collidable.ts
Normal file
3
frontend/models/Collidable.ts
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
interface Collidable {
|
||||
collides(o: Entity): boolean;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue