Package com.prineside.tdi2.modifiers
Class ExperienceModifier
java.lang.Object
com.prineside.tdi2.Registrable
com.prineside.tdi2.Building
com.prineside.tdi2.Modifier
com.prineside.tdi2.modifiers.ExperienceModifier
- All Implemented Interfaces:
 KryoSerializable
- 
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classNested classes/interfaces inherited from class com.prineside.tdi2.Modifier
Modifier.ConnectionSide, Modifier.Factory<T extends Modifier> - 
Field Summary
FieldsFields inherited from class com.prineside.tdi2.Modifier
id, moneySpentOn, PENALTY_SELL_PRICE, timeSinceBuilt, type, visuallyConnectedSides, WIRES_TEXTURES_CONFIGFields inherited from class com.prineside.tdi2.Building
buildingTypeFields inherited from class com.prineside.tdi2.Registrable
S - 
Method Summary
Modifier and TypeMethodDescriptionvoidfillModifierMenu(Group container, ObjectMap<String, Object> elements) Add / update menu elements.voidvoidsetRegistered(GameSystemProvider systemProvider) Mark this object as registered in the game state and give it a reference to the game state.voidRemove the reference to the game state and mark this object as not registered.voidupdate(float deltaTime) voidMethods inherited from class com.prineside.tdi2.Modifier
cloneBuilding, connectsToMiners, connectsToTowers, customButtonAction, dispose, drawBatch, drawBatchAdditive, getSellDelay, getSellPrice, getTimeTillSellAvailable, getWalkCost, hasCustomButton, isCustomButtonNeedMapPoint, isSellAvailable, loadFromJson, sameAs, setSideConnected, toJson, updateCache, updateCustomButtonMethods inherited from class com.prineside.tdi2.Building
drawBase, drawHoveredRange, drawSelectedRange, fromJson, getTile, placedOnMap, removedFromMap, setTileMethods inherited from class com.prineside.tdi2.Registrable
isRegistered 
- 
Field Details
- 
minerActive
public boolean[] minerActive 
 - 
 - 
Method Details
- 
write
- Specified by:
 writein interfaceKryoSerializable- Overrides:
 writein classModifier
 - 
read
- Specified by:
 readin interfaceKryoSerializable- Overrides:
 readin classModifier
 - 
setRegistered
Description copied from class:RegistrableMark this object as registered in the game state and give it a reference to the game state.- Overrides:
 setRegisteredin classRegistrable- Parameters:
 systemProvider- game state to link this object to, will be set to the S field.
 - 
setUnregistered
public void setUnregistered()Description copied from class:RegistrableRemove the reference to the game state and mark this object as not registered.- Overrides:
 setUnregisteredin classRegistrable
 - 
fillModifierMenu
Description copied from class:ModifierAdd / update menu elements. Called each frame when the menu is visible. It is preferred to generate some kind of a menu's state hash and put it into the elements map. If hash has not changed since the last call, no change is required and this method can do nothing.- Overrides:
 fillModifierMenuin classModifierelements- is preserved between method calls so you don't have to add new actors. If this array is empty, the menu has been just opened and all actors should be re-created
 - 
update
public void update(float deltaTime)  
 -