public XnaGuiAI(Game1 window) { components = new List <Component>(); this.window = window; components.Add(window); majong = new MajongComponent(); components.Add(majong); }
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; }