//Constructor public GameCard(SettlersOfCatan game , PlayingState state) { OurGame = (SettlersOfCatan)game; playingState = (PlayingState)state; //Randomize the deck randomGameCard(); }
public LongestRoad(SettlersOfCatan game, PlayingState state) { OurGame = (SettlersOfCatan)game; playingState = (PlayingState)state; roadBoard= OurGame.gameBoard; leftTotal = 0; rightTotal = 0; }
//Constructor public DrawGameBoard2D(Game game, PlayingState state) : base(game) { ourGame = (SettlersOfCatan)game; playingState = (PlayingState)state; screenWidth = ourGame.width; screenHeight = ourGame.height; halfWidth = screenWidth / 2; halfHeight = screenHeight / 2; screenRectangle = new Rectangle(0, 0, screenWidth, screenHeight); }
public DrawHud(Game game, PlayingState state) : base(game) { screenWidth = OurGame.width; screenHeight = OurGame.height; playingState = (PlayingState)state; }