Add basic multiplayer
This commit is contained in:
parent
0f0a1eaf67
commit
46a48e7c15
113 changed files with 1362 additions and 754 deletions
10
backend/src/physics/physical-game-object.ts
Normal file
10
backend/src/physics/physical-game-object.ts
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
import { GameObject } from 'shared';
|
||||
import { BoundingBoxBase } from './bounds/bounding-box-base';
|
||||
|
||||
export interface PhysicalGameObject extends GameObject {
|
||||
getBoundingBox(): BoundingBoxBase;
|
||||
//distance(target: vec2): number;
|
||||
readonly isInverted: boolean;
|
||||
readonly canCollide: boolean;
|
||||
readonly canMove: boolean;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue