Package com.prineside.tdi2.systems
Class LootSystem.LootSystemListener.LootSystemListenerAdapter
java.lang.Object
com.prineside.tdi2.systems.LootSystem.LootSystemListener.LootSystemListenerAdapter
- All Implemented Interfaces:
GameListener
,LootSystem.LootSystemListener
- Enclosing interface:
- LootSystem.LootSystemListener
public abstract static class LootSystem.LootSystemListener.LootSystemListenerAdapter
extends Object
implements LootSystem.LootSystemListener
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.prineside.tdi2.systems.LootSystem.LootSystemListener
LootSystem.LootSystemListener.LootSystemListenerAdapter
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
void
enemyLootAdded
(Enemy enemy, Item item, int count, boolean isMain) int
void
minerMinedItem
(Miner miner, ItemStack itemStack) void
void
-
Constructor Details
-
LootSystemListenerAdapter
public LootSystemListenerAdapter()
-
-
Method Details
-
minerMinedItem
- Specified by:
minerMinedItem
in interfaceLootSystem.LootSystemListener
-
enemyLootAdded
- Specified by:
enemyLootAdded
in interfaceLootSystem.LootSystemListener
-
rewardingAdBecameAvailable
public void rewardingAdBecameAvailable()- Specified by:
rewardingAdBecameAvailable
in interfaceLootSystem.LootSystemListener
-
rewardingAdRegistered
public void rewardingAdRegistered()- Specified by:
rewardingAdRegistered
in interfaceLootSystem.LootSystemListener
-
affectsGameState
public boolean affectsGameState()- Specified by:
affectsGameState
in interfaceGameListener
- Returns:
- true, если влияет на геймплей и есть в headless
-
getConstantId
public int getConstantId()- Specified by:
getConstantId
in interfaceGameListener
-