public XleGameControl( IXleScreen screen, IStatsDisplay statsDisplay, IXleWaiter waiter, IXleInput input, ISoundMan soundMan, ITextArea textArea, GameState gameState, XleSystemState systemState) { this.screen = screen; this.statsDisplay = statsDisplay; this.waiter = waiter; this.input = input; this.soundMan = soundMan; this.textArea = textArea; this.gameState = gameState; this.systemState = systemState; soundMan.ErrorMessage += message => { textArea.PrintLine(); textArea.PrintLine(message); }; textArea.Waiter += WaitAsync; }
public XleRenderer( ICommandList commands, IXleImages images, IPlayerAnimator playerAnimator, IXleScreen screen, IRectangleRenderer rects, IStatsDisplay statsDisplay) { this.commands = commands; this.images = images; this.Screen = screen; this.rects = rects; this.playerAnimator = playerAnimator; this.statsDisplay = statsDisplay; }
public PlayerDeathHandler(IMapChanger mapChanger, IStatsDisplay statsDisplay) { this.MapChanger = mapChanger; this.StatsDisplay = statsDisplay; }