Esempio n. 1
0
        public override void Dispose()
        {
            playerFont.Dispose();
            chat.Dispose();
            ContextLost();

            Events.ContextLost      -= ContextLost;
            Events.ContextRecreated -= ContextRecreated;
        }
Esempio n. 2
0
        public override void Dispose()
        {
            playerFont.Dispose();
            chat.Dispose();
            ContextLost();

            game.Graphics.ContextLost      -= ContextLost;
            game.Graphics.ContextRecreated -= ContextRecreated;
        }
Esempio n. 3
0
 public override void Dispose()
 {
     playerFont.Dispose();
     chat.Dispose();
     hotbar.Dispose();
     if (playerList != null)
     {
         playerList.Dispose();
     }
 }
Esempio n. 4
0
        public override void Dispose()
        {
            playerFont.Dispose();
            chat.Dispose();
            ContextLost();

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