Exemplo n.º 1
0
 public override void ObjectFunction(entity.Player player, GameObject gameObj)
 {
     if (player.keyCount <= 0)
     {
         return;
     }
     player.keyCount--;
     ObjectManager.removeObject(gameObj);
     player.drawStatus();
 }
Exemplo n.º 2
0
 public override void ObjectFunction(entity.Player player, GameObject gameObj)
 {
     player.hp -= 2;
     player.drawStatus();
 }
Exemplo n.º 3
0
 public override void ObjectFunction(entity.Player player, GameObject gameObj)
 {
     ObjectManager.removeObject(gameObj);
     ObjectFunction(player);
     player.drawStatus();
 }