Ejemplo n.º 1
0
        public void StartFiring()
        {
            if (canFireAgain) {
                canFireAgain = false;
                DamagePacket packet = new DamagePacket();
                packet.baseDamage = 10;

                View.Fire(packet);
            }
        }
 public void Fire(DamagePacket packet)
 {
     packetsFired.Add(packet);
 }