T
- The entity enum type used.C
- The cost type used.P
- The producible type used.public abstract class FactoryProductionStrategy<T extends Enum<T>,C extends ProductionCostStrategy,P extends Producible<T,C>> extends FactoryGame<T,SetupGame>
Constructor and Description |
---|
FactoryProductionStrategy(Class<T> keyType)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
abstract P |
create(T type)
Create a new producible from the entity type.
|
abstract P |
create(T type,
int tx,
int ty)
Create a new producible from the entity type.
|
addSetup, createSetup, getSetup, getTypes, load
Copyright © 2014 Byron 3D Games Studio. All rights reserved.