Class BuildingFactory
- java.lang.Object
-
- ch.sahits.game.openpatrician.clientserverinterface.model.factory.BuildingFactory
-
@Service @Lazy @DependentInitialisation(StartNewGameBean.class) public class BuildingFactory extends java.lang.Object
- Author:
- Andi Hotz, (c) Sahits GmbH, 2014 Created on Nov 30, 2014
-
-
Field Summary
Fields Modifier and Type Field Description private com.google.common.eventbus.AsyncEventBus
clientServerEventBus
private org.springframework.context.ApplicationContext
context
private PlayerInteractionFactory
interactionFactory
-
Constructor Summary
Constructors Constructor Description BuildingFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IStorage
createStorage(IPlayer owner, ICity city)
ITradingOffice
createTradingOffice(IPlayer owner, ICity city, int value)
-
-
-
Field Detail
-
context
@Autowired private org.springframework.context.ApplicationContext context
-
interactionFactory
@Autowired private PlayerInteractionFactory interactionFactory
-
clientServerEventBus
@Autowired @Qualifier("serverClientEventBus") private com.google.common.eventbus.AsyncEventBus clientServerEventBus
-
-