Store PacketHandler so that games can use it

This commit is contained in:
libraryaddict 2014-11-25 23:36:05 +13:00
parent 5bf185e588
commit 3ae27ccc55

View File

@ -154,7 +154,8 @@ public class ArcadeManager extends MiniPlugin implements IRelation
private ClassCombatShop _classShop;
private TaskManager _taskManager;
private ArcadeRepository _arcadeRepository;
private PacketHandler _packetHandler;
private EloManager _eloManager;
// Observers
@ -214,6 +215,8 @@ public class ArcadeManager extends MiniPlugin implements IRelation
_fire = new Fire(plugin, _conditionManager, damageManager);
_projectileManager = projectileManager;
_packetHandler = packetHandler;
_statsManager = new StatsManager(plugin);
_taskManager = new TaskManager(plugin, webAddress);
@ -325,6 +328,11 @@ public class ArcadeManager extends MiniPlugin implements IRelation
{
return _creature;
}
public PacketHandler getPacketHandler()
{
return _packetHandler;
}
public CosmeticManager getCosmeticManager()
{