/**
* Add the current room to the triggered trapped room if it is trapped.
*/
public void updateTraps() {
Square c = (Square) bob.getLocation();
if ((!visitedTrappedRooms.contains(c)) &&
((VertexRoom) c).getDamage()>0)
{
// Add the room.
visitedTrappedRooms.add(c);