@Component @Lazy @DependentInitialisation(value=StartNewGameBean.class) public class PeopleFactory extends Object
| Type | Property and Description |
|---|---|
ICaptain |
createNewCaptain
Retrieve a new captain.
|
| Modifier and Type | Field and Description |
|---|---|
private org.springframework.context.ApplicationContext |
context |
| Constructor and Description |
|---|
PeopleFactory() |
| Modifier and Type | Method and Description |
|---|---|
IBowmen |
createBowman() |
ICrossbowmen |
createCrossbowman() |
IMusketeer |
createMusketeer() |
ICaptain |
createNewCaptainProperty()
Retrieve a new captain.
|
IContractBroker |
createNewContractBroker(AmountablePrice<IWare> amountable,
IWare ware)
Retrieve a contract broker
|
IPikemen |
createPikeman() |
public ICaptain createNewCaptainProperty
public ICaptain createNewCaptainProperty()
public IContractBroker createNewContractBroker(AmountablePrice<IWare> amountable, IWare ware)
public IBowmen createBowman()
public ICrossbowmen createCrossbowman()
public IPikemen createPikeman()
public IMusketeer createMusketeer()
Copyright © 2011-2015 Sahits GmbH. All Rights Reserved.