From b786fe1e723b7cf905cdd7e525375dfe96241a21 Mon Sep 17 00:00:00 2001 From: Elizabeth Hunt Date: Mon, 21 Aug 2023 14:50:09 -0600 Subject: add default arguments to grid; add grid to server gl --- engine/config/constants.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'engine/config/constants.ts') diff --git a/engine/config/constants.ts b/engine/config/constants.ts index 3d536d3..b3c3f62 100644 --- a/engine/config/constants.ts +++ b/engine/config/constants.ts @@ -11,7 +11,7 @@ export namespace KeyConstants { }; export const ActionKeys: Map = Object.keys( - KeyActions, + KeyActions ).reduce((acc: Map, key) => { const action = KeyActions[key]; @@ -36,4 +36,7 @@ export namespace PhysicsConstants { export namespace Miscellaneous { export const WIDTH = 600; export const HEIGHT = 800; + + export const DEFAULT_GRID_WIDTH = 40; + export const DEFAULT_GRID_HEIGHT = 40; } -- cgit v1.2.3-70-g09d2