@kaishuoy The problem is that guards do not get added to floor's private list variable 'guards' when added in this way. The guards are on the floor, but floor can not check to see if the guards have caught anyone (it also wont be able to move them too, once that gets implemented).
Let me know how you fix this. If you have the logic to sort this out within addCharacter() I won't have to change any of my code, but if you think it makes sense to have a separate method for adding guards, or you want to go back to floor's constructor having a guard list parameter, I can change the loader to accomodate
@kaishuoy The problem is that guards do not get added to floor's private list variable 'guards' when added in this way. The guards are on the floor, but floor can not check to see if the guards have caught anyone (it also wont be able to move them too, once that gets implemented).
Let me know how you fix this. If you have the logic to sort this out within addCharacter() I won't have to change any of my code, but if you think it makes sense to have a separate method for adding guards, or you want to go back to floor's constructor having a guard list parameter, I can change the loader to accomodate