]> git.r.bdr.sh - rbdr/pico-engine/blame - scripts/globals.lua
Update project so it compiles
[rbdr/pico-engine] / scripts / globals.lua
CommitLineData
10a0e290
BB
1--the directions
2up=0
3right=1
4down=2
5left = 3
6
7--the alliances.
8enemy_neutral=0
9enemy_evil=1
10enemy_weapon=2
11enemy_superevil=3
12
13--sync configuration vars
14function this.sync(this)
15 this:set_physics(this.physics)
16 this:set_enemy(this.enemy)
17 this:set_controllable(this.controllable)
18 this:set_noclip(this.noclip)
19end