Пример #1
0
        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
        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;
        }