public override void Instanciate_scenary() { base.Instanciate_scenary(); assert = helper.game_object.Find._ <Assert_colision>( scene, "assert"); gun = helper.game_object.Find._ <chibi.weapon.gun.Gun>( scene, "linear_gun"); }
protected virtual void do_automatic_shot( float delta_time, chibi.weapon.gun.Gun gun) { gun.last_automatic_shot += delta_time; if (gun.last_automatic_shot > gun.rate_fire) { gun.last_automatic_shot -= gun.rate_fire; gun.shot(); } }