At the end of the last CPWE, we encountered the issue that agents die when they hit a wall while shifting (using tonic).
Instead they should end their action before colliding with a wall (Agent.isCollisionDetected).
If they end up in a wall anyways (i.e. go out of bounds), they should still get killed. This prevents a regression on the shifting out of bounds issue in #60
At the end of the last CPWE, we encountered the issue that agents die when they hit a wall while shifting (using tonic).
Instead they should end their action before colliding with a wall (
Agent.isCollisionDetected).If they end up in a wall anyways (i.e. go out of bounds), they should still get killed. This prevents a regression on the shifting out of bounds issue in #60