示例#1
0
文件: Game1.cs 项目: wistery-k/Mjai3D
        public Game1()
        {
            Hoge.Moja("huga");

            graphics = new GraphicsDeviceManager(this);
            Content.RootDirectory = "Content";
            IsMouseVisible = true;

            mutex = new object();

            components = new List<Component>();
            majong = new MajongComponent();
            components.Add(majong);

            fpsCounter = new FpsCounter();

            tehaiObjects = new List<Pai3D>();
            actionAlternatives = new List<SelectionType>();
            selectionBoxes = new List<Rectangle>();

            graphics.PreferredBackBufferWidth = 1024;
            graphics.PreferredBackBufferHeight = 768;
        }
示例#2
0
文件: Game1.cs 项目: play3577/Mjai3D
        public Game1()
        {
            Hoge.Moja("huga");

            graphics = new GraphicsDeviceManager(this);
            Content.RootDirectory = "Content";
            IsMouseVisible        = true;

            mutex = new object();

            components = new List <Component>();
            majong     = new MajongComponent();
            components.Add(majong);

            fpsCounter = new FpsCounter();

            tehaiObjects       = new List <Pai3D>();
            actionAlternatives = new List <SelectionType>();
            selectionBoxes     = new List <Rectangle>();

            graphics.PreferredBackBufferWidth  = 1024;
            graphics.PreferredBackBufferHeight = 768;
        }