public Team(AbstractFactory factory) { ball = factory.CreateBall(); stadium = factory.CreateStadium(); }