Пример #1
0
        public override void Dispose()
        {
            playerFont.Dispose();
            chat.Dispose();
            ContextLost();

            Events.ContextLost      -= ContextLost;
            Events.ContextRecreated -= ContextRecreated;
        }
Пример #2
0
        public override void Dispose()
        {
            playerFont.Dispose();
            chat.Dispose();
            ContextLost();

            game.Graphics.ContextLost      -= ContextLost;
            game.Graphics.ContextRecreated -= ContextRecreated;
        }
Пример #3
0
 public override void Dispose()
 {
     playerFont.Dispose();
     chat.Dispose();
     hotbar.Dispose();
     if (playerList != null)
     {
         playerList.Dispose();
     }
 }
Пример #4
0
        public override void Dispose()
        {
            playerFont.Dispose();
            chat.Dispose();
            ContextLost();

            game.WorldEvents.OnNewMap -= OnNewMap;
            gfx.ContextLost           -= ContextLost;
            gfx.ContextRecreated      -= ContextRecreated;
        }