Sorry, I'm just using text.class as an example. Use "yourActor'sNameWithTheCounter.class"
![Twitter](/assets/twitter-4e19209ef84344ee0c433f4c7bad8d49.png)
![Twitter.hover](/assets/twitter.hover-1fb19a5bafc50deace8f88eaec867845.png)
1 2 3 4 | if (System.currentTimeMillis() > start) { long timepassed = ((System.currentTimeMillis() - start) / 10 ); } |
1 2 3 | String s = Long.toString(timepassed); GreenfootImage img = new GreenfootImage(s, 12 ,Color.black,Color.blue); setImage(img); |
1 | import java.awt.Color; |