Пример #1
0
        public override void Init()
        {
            statsConsole = new RLConsole(statsConsoleRect.Size.X, statsConsoleRect.Size.Y);
            worldConsole = new RLConsole(worldConsoleRect.Size.X, worldConsoleRect.Size.Y);

            //var player = new Player((char)2, Vector.One * 10, RLColor.White);/*new RLColor(0.4f, 0.4f, 0.4f));*/
            //var enemy = new TestEnemy((char)1, Vector.One * 15, RLColor.White);

            mainHud = new Hud(null);

            mainWorld = new World();

            client = new Client();
            client.Init();

            Program.isServer = false;
        }
Пример #2
0
 public override void Init()
 {
     client = new Client();
     client.Init();
 }