Основные методы
Основные методы
Основные методы
Основные методы
public void NotifyEvent(GameEvent _e) { if (_e is GameEventPlayerDeath) { GameEventPlayerDeath e = (GameEventPlayerDeath)_e; gamemode.NotifyPlayerDeath(e); } else if (_e is GameEventPlayerDamaged) { GameEventPlayerDamaged e = (GameEventPlayerDamaged)_e; gamemode.NotifyPlayerDamaged(e); } }