コード例 #1
0
ファイル: Form1.cs プロジェクト: DarthCloakedGuy/monoChromia
        //Font systemHeader;
        //Font planetHeader;

        public Form1()
        {
            lastTick = Environment.TickCount;

            InitializeComponent();
            global   = new Globals();
            mousePos = new CursorDisp();
            canvas   = new GraphicsEngine(gameWindow);
            game     = new GameEngine(canvas);

            //systemHeader = new Font("Consolas", 14);
            //planetHeader = new Font("Consolas", 10);

            canvas.initializeBitmap();
        }
コード例 #2
0
        public GameEngine(GraphicsEngine _canvas)
        {
            GameObject thingie = new GameObject();

            canvas = _canvas;
        }