I'm trying to add a "Plasma" at the character , is this right? ( this code is in the actor)
I know I need to use getWorld(). but I forgotten what to do.
Hawx_
public void shoot()
{
if (Greenfoot.isKeyDown("space"))
{
Plasma plasma = new Plasma();
addObject(plasma, getX(), getY());
}
}

