Hey! I'm having some trouble with getting my character too shoot can someone help me? The Actors im using is Player_2 and Shots, the world they are going in is called Spike_Out... plz help... my error is in the "addObject"
public void Shoot()
{
if(Greenfoot.isKeyDown("space"))
{
Player_2 shooter1 = new Player_2();
int X = shooter1.getX();
int Y = shooter1.getY();
Shots shot = new Shots();
shot.setRotation(shooter1.getRotation());
addObject(shot, X, Y);
}
}

