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 TypeMethodDescriptionboolean
int
void
minerBuilt
(Miner miner, int price) void
minerResourcesChanged
(Miner miner, ResourceType resourceType, int delta, boolean mined) void
void
minerUpgraded
(Miner miner, int price) void
read
(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Input input) void
write
(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:
write
in interfacecom.esotericsoftware.kryo.KryoSerializable
-
read
public void read(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Input input) - Specified by:
read
in interfacecom.esotericsoftware.kryo.KryoSerializable
-
minerBuilt
- Specified by:
minerBuilt
in interfaceMinerSystem.MinerSystemListener
-
minerUpgraded
- Specified by:
minerUpgraded
in interfaceMinerSystem.MinerSystemListener
-
minerSold
- Specified by:
minerSold
in interfaceMinerSystem.MinerSystemListener
-
minerResourcesChanged
- Specified by:
minerResourcesChanged
in interfaceMinerSystem.MinerSystemListener
-
affectsGameState
public boolean affectsGameState()- Specified by:
affectsGameState
in interfaceGameListener
- Returns:
- true, если влияет на геймплей и есть в headless
-
getConstantId
public int getConstantId()- Specified by:
getConstantId
in interfaceGameListener
-