I´m creating a Bomberman game and i want that the player can just set 5 Bombs!!!!
The problem is that i=5 is a syntax error !!!! PLEASE HELP!
if (Greenfoot.isKeyDown("q"))
{
for(int i=0; i<=5; i++)
{
if (i=5)
{
}
else
{
bombSetzen();
}
}
}

