Package com.prineside.tdi2.systems
Class MinerSystem.MinerSystemListener.ListenerScriptProxy
java.lang.Object
com.prineside.tdi2.systems.MinerSystem.MinerSystemListener.ListenerScriptProxy
- All Implemented Interfaces:
com.esotericsoftware.kryo.KryoSerializable,GameListener,MinerSystem.MinerSystemListener
- Enclosing interface:
- MinerSystem.MinerSystemListener
public static class MinerSystem.MinerSystemListener.ListenerScriptProxy
extends Object
implements MinerSystem.MinerSystemListener, com.esotericsoftware.kryo.KryoSerializable
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.prineside.tdi2.systems.MinerSystem.MinerSystemListener
MinerSystem.MinerSystemListener.ListenerScriptProxy, MinerSystem.MinerSystemListener.MinerSystemListenerAdapter -
Method Summary
Modifier and TypeMethodDescriptionbooleanintvoidminerBuilt(Miner miner, int price) voidminerResourcesChanged(Miner miner, ResourceType resourceType, int delta, boolean mined) voidvoidminerUpgraded(Miner miner, int price) voidread(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Input input) voidwrite(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Output output)
-
Method Details
-
write
public void write(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Output output) - Specified by:
writein interfacecom.esotericsoftware.kryo.KryoSerializable
-
read
public void read(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Input input) - Specified by:
readin interfacecom.esotericsoftware.kryo.KryoSerializable
-
minerBuilt
- Specified by:
minerBuiltin interfaceMinerSystem.MinerSystemListener
-
minerUpgraded
- Specified by:
minerUpgradedin interfaceMinerSystem.MinerSystemListener
-
minerSold
- Specified by:
minerSoldin interfaceMinerSystem.MinerSystemListener
-
minerResourcesChanged
- Specified by:
minerResourcesChangedin interfaceMinerSystem.MinerSystemListener
-
affectsGameState
public boolean affectsGameState()- Specified by:
affectsGameStatein interfaceGameListener- Returns:
- true, если влияет на геймплей и есть в headless
-
getConstantId
public int getConstantId()- Specified by:
getConstantIdin interfaceGameListener
-