Code review 2023-01-10
This commit is contained in:
parent
d748312d66
commit
637a867c7e
9 changed files with 13 additions and 5 deletions
7
frontend/model/Collidable.ts
Normal file
7
frontend/model/Collidable.ts
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
interface Collidable {
|
||||
/**
|
||||
* Determines when two entities collide
|
||||
* @param o other entity
|
||||
*/
|
||||
collides(o: Entity): boolean;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue