예제 #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;
        }
예제 #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;
 }