Moved registerForIntent() into constructors of all services

This commit is contained in:
Obique PSWG
2015-11-01 09:41:07 -06:00
parent 1a261a6556
commit ccad047e4f
26 changed files with 64 additions and 83 deletions
+5 -4
View File
@@ -95,15 +95,16 @@ public class ObjectManager extends Manager {
addChildService(radialService);
addChildService(spawnerService);
addChildService(clientBuildoutService);
}
@Override
public boolean initialize() {
registerForIntent(GalacticPacketIntent.TYPE);
registerForIntent(ObjectTeleportIntent.TYPE);
registerForIntent(ObjectIdRequestIntent.TYPE);
registerForIntent(ObjectCreateIntent.TYPE);
registerForIntent(DeleteCharacterIntent.TYPE);
}
@Override
public boolean initialize() {
loadClientObjects();
loadObjects();
return super.initialize();