public GameLimitsBuilder(string gameName, GameEngineName engineName, IGameLimitsContentProvider limitsContent, VersionNumber version) { _gameName = gameName; _engineName = engineName; _limitsContent = limitsContent; _version = version; }
public GameMathBuilder(string name, GameEngineName engineName, IGameMathContentProvider mathContent, VersionNumber version) { _gameName = name; _engineName = engineName; _mathContent = mathContent; _version = version; }
public IComponentBuilder GetGameLimitsBuilder(string gameName, GameEngineName engineName, VersionNumber proposedVersion) { var engine = _ggpSolutionParser.GetGameEngineContentProvider(engineName); var game = engine.GetGame(gameName); return(new GameLimitsBuilder(game.Name, engineName, game.LimitsContent, proposedVersion)); }
public IGameEngineContentProvider GetGameEngineContentProvider(GameEngineName name) { var gameEngine = this.GameEngines.FirstOrDefault(c => name == new GameEngineName(c.Name)); if (gameEngine == null) { throw new ArgumentException($"Can't find a game engine with name {name}"); } return(gameEngine); }
public GameLimitsDeployContent(string componentUniqueId, string gameName, VersionNumber version, GameEngineName engineName, string engineUniqueId, IServerPath projectServerPath, IEnumerable <DeployableFileDefinition> files, string componentDescription, IServerPath distributionServerPath) : base(componentUniqueId, gameName, engineName, engineUniqueId, version, projectServerPath, files, componentDescription, distributionServerPath) { }
public GameDeployContent(string componentUniqueId, string name, GameEngineName engineName, string engineUniqueId, VersionNumber version, IServerPath projectServerPath, IEnumerable <DeployableFileDefinition> files, string componentDescription, IServerPath distributionServerPath) : base(componentUniqueId, name, version, projectServerPath, files, componentDescription, distributionServerPath) { this.EngineName = engineName; this.EngineUniqueId = engineUniqueId; }
public GameEnginePublisherPlaceholder(GameEngineName gameEngineName, IEnumerable <IGamePublisherViewModel> games) { _gameEngineName = gameEngineName; this.Games = games; }
public GameEnginePlaceholderViewModel(GameEngineName name, IEnumerable <IGameViewModel> games) { this.Name = name.ToString(); this.Games = new ObservableCollection <IGameViewModel>(games); }
public IComponentBuilder GetGameEngineBuilder(GameEngineName engineName, VersionNumber proposedVersion) { var contentProvider = _ggpSolutionParser.GetGameEngineContentProvider(engineName); return(new GameEngineBuilder(contentProvider, proposedVersion)); }