C# Class withSIX.Mini.Infra.Data.Services.SetupGameStuff.GameFactory

Mostra file Open project: SIXNetworks/withSIX.Desktop

Public Methods

Method Description
CreateGame ( Type type, GameAttribute attr ) : Game
GameFactory ( IAssemblyService ass ) : System
GetGameTypesWithAttribute ( ) : GameAttribute>.IDictionary

Private Methods

Method Description
CreateGameSettings ( Type gt ) : GameSettings
FindGameTypes ( ) : IEnumerable
GetSettingsModelType ( Type x ) : Type
IsGameType ( Type y ) : bool
MapToSettingsType ( Type x ) : string

Method Details

CreateGame() public method

public CreateGame ( Type type, GameAttribute attr ) : Game
type System.Type
attr GameAttribute
return Game

GameFactory() public method

public GameFactory ( IAssemblyService ass ) : System
ass IAssemblyService
return System

GetGameTypesWithAttribute() public method

public GetGameTypesWithAttribute ( ) : GameAttribute>.IDictionary
return GameAttribute>.IDictionary