Coding the Observer pattern in Scrolling Shooter