2 this.actorname = "Bullet: Normal"
3 this.enemy = enemy_weapon
5 this.controllable = false
8 this:load_clip("./sfx/shot.wav");
9 this:play_sfx("./sfx/shot.wav");
11 print(">>> Entity Created - "..this.actorname);
13 function this.move(this)
15 if(this:get_currentdirection() == right) then
16 this:set_ownspeed(this.speed)
19 if (this:get_currentdirection() == left) then
20 this:set_ownspeed(-this.speed)
23 if ( not this:can_move(left, this:get_x(), this:get_y()) or
24 not this:can_move(right, this:get_x(), this:get_y())) then
29 function this.act(this)