I would like to get a value which describes the current simulation speed. Something like
but that does not exist. Is there a sneaky way to read the current speed out of the greenfoot core?
If you wonder: I am trying to reuse that slider for my own purpose in the game. The game itself runs independent of the actual speed anyways.
1 | int currentSpeed = Greenfoot.getSpeed(); |