public static IMoves CreateMovesFromType(Types.MOVE_TYPES moveType, string value) { IMoves moves = CreateMovesFromType(moveType); moves.SetValue(value); return(moves); }
public static IMoves CreateMovesFromType(Types.MOVE_TYPES moveType) { switch (moveType) { case Types.MOVE_TYPES.Default: return(CreateMoves <DefaultMoves>()); default: return(null); } }
public MatchManagerService(Types.MOVE_TYPES moveType) { Matches = new Dictionary <string, Match>(); CurrentGames = new Dictionary <string, Game>(); MoveType = moveType; }