package com.deftwun.zombiecopter;

import com.artemis.Engine;
import com.artemis.WorldConfiguration;
import com.deftwun.zombiecopter.systems.*;

public class Systems {

	public CameraSystem camera = new CameraSystem();
	public MoveSystem move = new MoveSystem();
	public PhysicsSystem physics = new PhysicsSystem();
	public PlayerSystem player = new PlayerSystem();
	public WeaponSystem weapon = new WeaponSystem();
	public LifetimeSystem lifetime = new LifetimeSystem();
	public SpriteRenderSystem spriteRender = new SpriteRenderSystem();
	public VisionSystem vision = new VisionSystem();
	public TeamSystem team = new TeamSystem();
	public CollectableSystem collectable = new CollectableSystem();
	public SpawnSystem spawn = new SpawnSystem();
	public CivilianDropOffSystem dropoff = new CivilianDropOffSystem();
	public DamageSystem damage = new DamageSystem();
	public ParticleSystem particle = new ParticleSystem();
	public VehicleSystem vehicle = new VehicleSystem();
	public AgentSystem agent = new AgentSystem();
	
	public Systems(WorldConfiguration config){

		config.setSystem(physics);
		config.setSystem(agent);
		config.setSystem(camera);
		config.setSystem(move);
		config.setSystem(player);
		config.setSystem(weapon);
		config.setSystem(lifetime);
		config.setSystem(vision);
		config.setSystem(spriteRender);
		config.setSystem(team);
		config.setSystem(collectable);
		config.setSystem(spawn);
		config.setSystem(damage);
		config.setSystem(particle);
		config.setSystem(vehicle);
		
		config.addEntityListener(camera);
		config.addEntityListener(physics);
		config.addEntityListener(player);
		config.addEntityListener(spriteRender);

	}
}

@@ -34,36 +34,8 @@
 %0D%0A%0D%0A
-import com.artemis.Engine;%0D%0A
 impo
@@ -1130,22 +1130,23 @@
 nfig.set
-System
+Manager
 (camera)
@@ -1340,22 +1340,23 @@
 nfig.set
-System
+Manager
 (team);%0D
@@ -1474,24 +1474,24 @@
 particle);%0D%0A
+
 %09%09config.set
@@ -1511,167 +1511,8 @@
 e);%0D
-%0A%09%09%0D%0A%09%09config.addEntityListener(camera);%0D%0A%09%09config.addEntityListener(physics);%0D%0A%09%09config.addEntityListener(player);%0D%0A%09%09config.addEntityListener(spriteRender);%0D
 %0A%0D%0A%09

Fix system registrations.