1 --Configuration for the Jumper
2 this.actorname = "Enemy: Jumper"
3 this.enemy = enemy_evil
4 this.controllable = false
8 print(">>> Entity Created - "..this.actorname);
10 function this.jump(this)
11 if (this:get_vertical_speed() == 0 and math.random(150) == 50) then
12 this:set_vertical_speed(this:get_vertical_speed()-this.jumpstrength)
16 function this.act(this)