Add basic gameobject system
This commit is contained in:
parent
d5be727040
commit
efb01476b2
33 changed files with 399 additions and 171 deletions
9
frontend/src/scripts/drawing/drawer.ts
Normal file
9
frontend/src/scripts/drawing/drawer.ts
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
import { Vec2 } from '../math/vec2';
|
||||
|
||||
export interface Drawer {
|
||||
startWaitingForInstructions();
|
||||
finishWaitingForInstructions();
|
||||
setCameraPosition(position: Vec2);
|
||||
setViewBoxSize(size: Vec2);
|
||||
drawCornerText(text: string);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue