Hi,
how would I get an object to appear every 300 points scored? Currently I have:
but this only adds the miniboss at just 300, how would I get the boss to keep appearing after every 300 points have been accumulated?
1 2 3 4 5 6 7 8 | public void addScore( int s) { scorecount=s+scorecount; score.setText( "Score: " +scorecount); if (scorecount == 300 ) { addMiniBoss(); } } |