is getX() getY() getRotation() like giving the x position, y position and direction? here is my code so far
if (Greenfoot.isKeyDown("space")) {
createBullet(getX(), getY(), getRotation());
}

