public void TakeDamage(int damage) { ZeldaSound.Instance.TakeDamage(); ICommand damageCommand = new TakeDamageCommand(game, this, damage); damageCommand.Execute(); }
public void TakeDamage(int damage) { ICommand damageCommand = new TakeDamageCommand(this, damage); damageCommand.Execute(); }