public HudComponent(ActionScreen screen) { this.screen = screen; drawRectangle = new RectangleF( 0, 0, Game.Window.ClientBounds.Width, Game.Window.ClientBounds.Height); }
public ScreenManager() { startScreen = new StartScreen(); actionScreen = new ActionScreen(); screens = new List<ScreenBase>(); screens.Add(startScreen); screens.Add(actionScreen); //activeScreen = startScreen; activeScreen = actionScreen; }