예제 #1
0
파일: XnaGuiAI.cs 프로젝트: play3577/Mjai3D
 public XnaGuiAI(Game1 window)
 {
     components  = new List <Component>();
     this.window = window;
     components.Add(window);
     majong = new MajongComponent();
     components.Add(majong);
 }
예제 #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;
        }