Im making a 2 player shooter, I put in the code EXACTLY as a guy in the video showed me but I get the "cannot find symbol -variable getRotation" error. heres the code to spawn the bullet:
bullet ball = new bullet();
getWorld().addObject(ball, getX(), getY());
bullet.setRotation(getRotation);