public Button(Rectangle drawRect, LonharGame game, Color color, Color hoverColor, int textAlignment, String text, SpriteFont font) : this(drawRect, new Texture2D(game.GraphicsDevice, 1, 1), textAlignment, text, font) { this.color = color; this.hoverColor = hoverColor; texture.SetData(new Color[] { Color.White }); }
public Button(Rectangle drawRect, LonharGame game, Color color) { DrawRect = drawRect; this.color = color; hoverColor = color; texture = new Texture2D(game.GraphicsDevice, 1, 1); texture.SetData(new Color[] { Color.White }); }
public GameState(LonharGame game) { this.game = game; }
public Button(Rectangle drawRect, LonharGame game, Color color, Color hoverColor) : this(drawRect, game, color) { this.hoverColor = hoverColor; }