Fix physics
This commit is contained in:
parent
37954e2ef1
commit
f9f6825776
51 changed files with 832 additions and 541 deletions
7
frontend/src/scripts/objects/view-object.ts
Normal file
7
frontend/src/scripts/objects/view-object.ts
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
import { Renderer } from 'sdf-2d';
|
||||
import { GameObject } from 'shared';
|
||||
|
||||
export interface ViewObject extends GameObject {
|
||||
step(deltaTimeInMilliseconds: number): void;
|
||||
draw(renderer: Renderer): void;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue