public bool Interact(Player player) { player.EnemiesInteractedWith++; GameplayManager.PlaySound("monster-moan"); return(true); }
public LevelRenderer(Level[] levels, Player player, GameplayManager gameplayManager) { this.levels = levels; this.player = player; this.gameplayManager = gameplayManager; }
public bool Interact(Player player) { player.NumberOfMoves += 50; GameplayManager.PlaySound("trapdoor-interact"); return(true); }