I'm a grade 11 pre-AP student
working on a game
Can someone figure out what's wrong with these codes???
Thanks!!!!!!
private void Fire()
{
Bullet bullet1 = new Bullet();
getWorld().addObject(bullet1, getX(), getY());
Bullet.setRotation(getRotation());
}
ps. It doesn't allow Bullet.setRotation(getRotation());