public GraphComponent(Game game, Texture2D picture, DrawState state) : base(game) { _picture = picture; _state = new StateManager(game, state); PreviousBounds = game.GraphicsDevice.Viewport; }
public FontComponent(Game game, SpriteFont font, DrawState state) : base(game) { _font = font; _state = new StateManager(game, state); PreviousBounds = game.GraphicsDevice.Viewport; Content = ""; }