Hey guys. I've got a problem with programming PacMan: I want to implement the cherry. But I don't have any idea of how the cherry can spawn after a random time between 1 and 120 seconds and then disappears after 10 seconds.
I tried to do it with "currentTimeMillis" but it didn't work.
Hope you can help me.

