This site requires JavaScript, please enable it in your browser!
Greenfoot back
MakerOfGames
MakerOfGames wrote ...

2012/3/15

Shoot delay code?

MakerOfGames MakerOfGames

2012/3/15

#
I need help on the shooting delay.
matt.milan matt.milan

2012/3/15

#
private int shootDelay = 0; private final int SHOOT_DELAY_MAX = some number; // shootDelay++ if (shootDelay >= SHOOT_DELAY_MAX) { do stuff shootDelay = 0; } what do you think about this
You need to login to post a reply.