Rockstar Games interview question

Implementing a system using the Observer design pattern