is there someone can help me about making game like typing game???
I'm confused in keyboard input...
//isKeyDown()
if (Greenfoot.isKeyDown(/*The Key*/)
{
doSomething();
}
...
//getKey()
String key = getKey();
if (key != null && key.equals(/*The Key*/) //The order of that statement is very important!
{
doSomething();
}