Ejemplo n.º 1
0
        public override void ApplyBonus(PlayerEntity player)
        {
            base.ApplyBonus(player);

            FreezeEnemiesEntity fe = new FreezeEnemiesEntity(5);
            OGE.CurrentWorld.AddEntity(fe);
        }
Ejemplo n.º 2
0
        public virtual void ApplyBonus(PlayerEntity player)
        {
            GlobalVariables.Achievements[this.GetType()].CurrentNumber += 1;

            SoundManager.ListnerPosition = Position;
            SoundManager.PlaySFX("pickup");
            RemoveEntity();
        }
Ejemplo n.º 3
0
        public override void ApplyBonus(PlayerEntity player)
        {
            base.ApplyBonus(player);

            BaseExplosion explosion = new BaseExplosion(Position, new Color(20, 80, 140), 300);
            explosion.FriendlyExplosion = true;
            explosion.Damage = 100;
            explosion.DamagePercentage = 0.1f;
            OGE.CurrentWorld.AddEntity(explosion);
        }
Ejemplo n.º 4
0
 public override void ApplyBonus(PlayerEntity player)
 {
     base.ApplyBonus(player);
     player.IncreaseHealth(40);
 }
Ejemplo n.º 5
0
 public override void ApplyBonus(PlayerEntity player)
 {
     base.ApplyBonus(player);
     player.ActivateShield(8);
 }
Ejemplo n.º 6
0
 protected virtual void DoEffectOnPlayer(PlayerEntity player)
 {
 }