Exemple #1
0
        public Game Create(GameType gameType)
        {
            var template = Configurations.ResourceManager.GetString(gameType.GetResourceKey());

            if (template == null)
            {
                throw new GameTemplateNotFoundException("game template could not be found");
            }

            return(template.Deserialize <Game>());
        }