public override void Dispose() { playerFont.Dispose(); chat.Dispose(); ContextLost(); Events.ContextLost -= ContextLost; Events.ContextRecreated -= ContextRecreated; }
public override void Dispose() { playerFont.Dispose(); chat.Dispose(); ContextLost(); game.Graphics.ContextLost -= ContextLost; game.Graphics.ContextRecreated -= ContextRecreated; }
public override void Dispose() { playerFont.Dispose(); chat.Dispose(); hotbar.Dispose(); if (playerList != null) { playerList.Dispose(); } }
public override void Dispose() { playerFont.Dispose(); chat.Dispose(); ContextLost(); game.WorldEvents.OnNewMap -= OnNewMap; gfx.ContextLost -= ContextLost; gfx.ContextRecreated -= ContextRecreated; }