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