Add input handling
This commit is contained in:
parent
29c6b14440
commit
d5be727040
36 changed files with 417 additions and 113 deletions
7
frontend/src/scripts/objects/game-object.ts
Normal file
7
frontend/src/scripts/objects/game-object.ts
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
import { Typed } from '../transport/serializable';
|
||||
import { Vec2 } from '../math/vec2';
|
||||
|
||||
export class GameObject extends Typed {
|
||||
public position = new Vec2();
|
||||
public boundingBoxSize = new Vec2();
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue