Пример #1
0
        public static void InitializeMe()
        {
            Form   winForm  = (Form)Form.FromHandle(GameMe.Window.Handle);
            Cursor myCursor = CursorHelper.LoadCustomCursor(@"Content\Cursors\cursorHand.ani");

            winForm.Cursor   = myCursor;
            winForm.Location = new Point(310, 20);

            GameMe.Window.Title = "CRUST - Ropossum V3.0";
            GameMe.SpriteBatch  = new SpriteBatch(GameMe.GraphicsDevice);

            CTRLevelDesigner form1 = new CTRLevelDesigner();

            //CRUSTLevelDesigner form1 = new CRUSTLevelDesigner();
            if (Game1.IsUserDesigner)
            {
                form1.StartPosition = FormStartPosition.Manual;
                form1.Show();
            }

            StaticData.InitializeEngine(GameMe);
        }