Пример #1
0
        private static void Start()
        {
            GameWorld = new World();

            Terminal.Open();
            Terminal.Set("window: size=" + Constants.screenWidth.ToString() + "x" + Constants.screenHeight.ToString() + "; font: VeraMono.ttf, size=10");
            Terminal.BkColor(Color.FromArgb(255, 40, 40, 60));
            Terminal.Color(Color.FromArgb(255, 240, 234, 214));
            setUpGame();
            Terminal.Layer(0); // Set map to layer 0
            MapGen.updateMap();
            Terminal.Layer(2);
            GameWorld.battleGrid = new BattleGrid();
            Terminal.Layer(1); // Gamobjects to layer 1
        }