Exemplo n.º 1
0
        public Renderer(Game game)
        {
            this.game = game;

            CanvasElement can = Document.GetElementById("canvas").As<CanvasElement>();
            this.ctx = (CanvasContext2D)can.GetContext(Rendering.Render2D);
            this.initializeMinimap();
        }
Exemplo n.º 2
0
        private static void Start()
        {
            Game game = new Game();

            game.Start();
        }