public IBoardItem Generate(EBoardItemType itemType) { IBoardItemFactory factory; if (m_RegistedFactories.TryGetValue(itemType, out factory)) { return(factory.Generate()); } return(null); }
public BallFactory(EBoardItemType tarType) { m_ProductType = tarType; }