summaryrefslogtreecommitdiff
path: root/maps
diff options
context:
space:
mode:
authorSteph Enders <smenders@gmail.com>2022-06-16 16:14:18 -0400
committerSteph Enders <smenders@gmail.com>2022-06-16 16:16:34 -0400
commitc57ae8c42c1f2f2ed576719c00cff5cf613fe650 (patch)
tree0e0c6533b099edbe2c283a8961b1b240d29ad904 /maps
parent750b308d70cf1c903812316deeb0a8c4befa37ce (diff)
Added onUpdate logic to move the enemies etc
Created some algorithm logic for enemy movement Allowed for default overrides
Diffstat (limited to 'maps')
-rw-r--r--maps/lvl1/proc.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/maps/lvl1/proc.lua b/maps/lvl1/proc.lua
index fec9ed5..579b5ba 100644
--- a/maps/lvl1/proc.lua
+++ b/maps/lvl1/proc.lua
@@ -1,4 +1,6 @@
require "include.constants";
+local default = require "include.defaults"
function onKeyPress(key)
+ default.onKeyPress(key)
end \ No newline at end of file