public void DefineCooldownTimerForNextPossibleShot(ShaftAimingShotPrepareEvent evt, CooldownNode cooldown)
 {
     base.UpdateCooldownOnShot(cooldown.cooldownTimer, cooldown.weaponCooldown);
 }
Exemplo n.º 2
0
 public void PrepareAimingTargets(ShaftAimingShotPrepareEvent evt, ShaftNode weapon)
 {
     this.PrepareAimingTargets(weapon.Entity, evt.WorkingDir);
 }
Exemplo n.º 3
0
        public void SendShot(ShaftAimingShotPrepareEvent evt, BlockedShaftNode weapon)
        {
            MuzzleLogicAccessor accessor = new MuzzleLogicAccessor(weapon.muzzlePoint, weapon.weaponInstance);

            base.ScheduleEvent(new SelfShotEvent(accessor.GetFireDirectionWorld()), weapon);
        }