This site requires JavaScript, please enable it in your browser!
Greenfoot back

SullyFish's Comments

Back to SullyFish's profile

this is awesome
nvm sorry I found it
public void hit(){ Actor actor = getOneObjectAtOffset(0, 0, Ennemies.class); if(actor != null) { Bar.subtract(1); } }
it doesnt find bar.subtract in my other class
how would I make the bar go down by making a different class touch a different class?