Changed Robot death detection

- Separated the Robots death detection from the Robot AI method into its
own method
- Abstracted the Robots target from a character to a RectangleObject