2 this.actorname = "Bullet: Wave"
3 this.enemy = enemy_weapon
5 this.controllable = false
10 print(">>> Entity Created - "..this.actorname);
12 function this.move(this)
14 if(this:get_currentdirection() == right) then
15 this:set_ownspeed(this.speed)
18 if (this:get_currentdirection() == left) then
19 this:set_ownspeed(-this.speed)
22 this:set_y(this:get_y()+ (10 * math.sin(math.rad(this.angle))) )
23 this.angle = this.angle + 45
25 if ( this:get_x() < this:get_map_sx() or this:get_x() > this:get_map_sx() + this:get_cfg_screen_width()) then
30 function this.act(this)