Esempio n. 1
0
 public override void OnPickup(Unit u)
 {
     Snd_Pickup.CreateInstance().Play();
     Console.WriteLine(u + " picks up " + this + ".");
 }
Esempio n. 2
0
 public virtual void OnPickup(Unit u       )
 {
 }
Esempio n. 3
0
 public virtual void OnDrop(Unit u = null)
 {
 }
Esempio n. 4
0
 public override void OnPickup(Unit u)
 {
     Snd_Pickup.CreateInstance().Play();
     Dispose();
     u.Health += 40;
 }
Esempio n. 5
0
 public override void OnPickup(Unit u)
 {
     Snd_Pickup.CreateInstance().Play();
     Dispose();
     Console.WriteLine(u + " scarfs " + this + " down like it has a wasting illness. " + u.Health);
 }
Esempio n. 6
0
        public override void OnPickup(Unit u)
        {
            var game = World.Game;
            Snd_Pickup.CreateInstance().Play();
            Dispose();

            Console.WriteLine(u + " picks up " + this + " - " + (game.ArtifactsFound + 1) + " of " + game.ArtifactsTotal);
            game.ArtifactsFound++;
        }