Ejemplo n.º 1
0
        public override void Init()
        {
            int size = game.Drawer2D.UseBitmappedChat ? 16 : 11;

            playerFont = new Font(game.FontName, size);
            chat       = new ChatScreen(game);
            chat.Init();
            hotbar = new BlockHotbarWidget(game);
            hotbar.Init();
            game.WorldEvents.OnNewMap += OnNewMap;
        }
Ejemplo n.º 2
0
 public override void Init()
 {
     int size = game.Drawer2D.UseBitmappedChat ? 16 : 11;
     playerFont = new Font( game.FontName, size );
     chat = new ChatScreen( game );
     chat.Init();
     hotbar = new BlockHotbarWidget( game );
     hotbar.Init();
     game.WorldEvents.OnNewMap += OnNewMap;
 }