I am trying to make my character shoot by adding a new "Bullet".
This is in my main character code.
When I compile it says "Cannot find symbol varible bullet", the class name is called Bullet.
I need it to place the "Bullet" where my rocket is , which is why I have getX() and GetY().
I don't understand why this isn't working.
Please help.
public void Shoot()
{
if (Greenfoot.isKeyDown("space"))
getWorld().addObject(Bullet, getX(), getY());
}

