]> git.r.bdr.sh - rbdr/pico-engine/blob - scripts/globals.lua
Update project so it compiles
[rbdr/pico-engine] / scripts / globals.lua
1 --the directions
2 up=0
3 right=1
4 down=2
5 left = 3
6
7 --the alliances.
8 enemy_neutral=0
9 enemy_evil=1
10 enemy_weapon=2
11 enemy_superevil=3
12
13 --sync configuration vars
14 function 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)
19 end