public TextAdventureGame( GraphicsDevice graphicsDevice, Engine.Objects.World world, Player player, IMultimediaPlayer multimediaPlayer, IFpsConfiguration fpsConfiguration, ILogConfiguration logConfiguration, IWorldTimeConfiguration worldTimeConfiguration) : base(graphicsDevice, new ContentDirectoryContentManagerProvider()) { world.ThrowIfNull("world"); player.ThrowIfNull("player"); multimediaPlayer.ThrowIfNull("multimediaPlayer"); fpsConfiguration.ThrowIfNull("fpsConfiguration"); logConfiguration.ThrowIfNull("logConfiguration"); worldTimeConfiguration.ThrowIfNull("worldTimeConfiguration"); _world = world; _player = player; _multimediaPlayer = multimediaPlayer; _fpsConfiguration = fpsConfiguration; _logConfiguration = logConfiguration; _worldTimeConfiguration = worldTimeConfiguration; }
public TextAdventureGame( GraphicsDevice graphicsDevice, Engine.Objects.World world, Player player, IMultimediaPlayer multimediaPlayer, IFpsConfiguration fpsConfiguration, ILogConfiguration logConfiguration, IWorldTimeConfiguration worldTimeConfiguration) : base(graphicsDevice, new ContentDirectoryContentManagerProvider()) { world.ThrowIfNull("world"); player.ThrowIfNull("player"); multimediaPlayer.ThrowIfNull("multimediaPlayer"); fpsConfiguration.ThrowIfNull("fpsConfiguration"); logConfiguration.ThrowIfNull("logConfiguration"); worldTimeConfiguration.ThrowIfNull("worldTimeConfiguration"); _world = world; _player = player; _multimediaPlayer = multimediaPlayer; _fpsConfiguration = fpsConfiguration; _logConfiguration = logConfiguration; _worldTimeConfiguration = worldTimeConfiguration; }