public HandZone(GameInstance game, Vector2 position) : base(game, position) { this.CardList = this.game.MainPlayer.Hand; this.mainPlayer = this.game.MainPlayer; this.cardDisplaySize = GameInstance.MAX_HAND_DISPLAY_SIZE; this.hoverFrameColor = Color.HotPink; }
public GameInstance() { graphics = new GraphicsDeviceManager(this); graphics.PreferMultiSampling = true; Content.RootDirectory = "Content"; this.IsMouseVisible = true; //Window.AllowUserResizing = true; Window.Title = "DBG48"; graphics.PreferredBackBufferWidth = 800; graphics.PreferredBackBufferHeight = 500; controller = new Controller(this); randGen = new Random(); MainPlayer = new Player(this); }