I am working on a space shooter game and I have an enemy that shoots bullets. I want the bullets to travel in a spiral path so each time a bullet is created it turns +18 and move but the code I have is not working. The bullet should only turn once when its is created. I am new to Greenfoot and Java so I need help!!!
This is the code I have for the bullet-
private int angle = 0;
public void act()
{
move(5);
angle+= 18;
}
public enemyBullet()
{
turn(angle);
}

