Add a model class that extends sprite and apply the Observer pattern to model class