}
for (Vector2D v : relativePositions) {
PacmanAgent2D agent;
if (agentType.equals("dynamite")) {
DynamiteAgent da = new DynamiteAgent(0, this, this.getParCollection());
this.dynamiteAgent.add(da);
agent = da;
this.nextAgentType = "fuse";
} else if (agentType.equals("fuse")) {
FuseAgent fa = new FuseAgent(0, this, this.getParCollection());