so, im a bit new in greenfoot, and we had an project about making an asteroid shooter. it's almost done, but i need the amount on bullets the ship has on screen, and that wont work out for me.
This is the code for the ship Actor
I want to display the energyLevel in my world, i already tried this
but greenfoot doesnt know what to do with the "showText"
pls help
private int energyLevel = 100;
private int delta = 4;
private int triggerCounter = 0;
public void act()
{
*stuff that doesnt really matter*
}this.showText(Bullets left: " + String.valueOf(energyLevel), 500, 380);

