In the game I'm creating, I have all my actors as subclasses of a "Mover class", so I can set a variable (such as int scrollSpeed) that can be accessed by all the subclasses (like move(scrollSpeed);) but be modified within a subclass (like dX=scrollSpeed+runSpeed;). I have a button object class called "Play" and when it gets clicked it drops out and gets removed from the world. Before the "Play" object gets removed I want it to set the scrollSpeed variable in the superclass "Mover" =-4 so Objects of class Mover start moving left. What is the best way to set the variable scrollSpeed from the subclass?

