Hello, this may sound as a very basic question but Im only just starting.
I don't want people to shoot at no interval, so how do I set an interval?
So for example; if people shoot 2 times, there should be a reloading time.
How do I program this in the following?
Thanks in advance
if ("space".equals(Greenfoot.getKey()))
{
fire();
}
if ("space".equals(Greenfoot.getKey()))
{
XXXX
}

