Okay, I see I'm pretty bad at OOP
I don't really know what to with this error.
I tried to create a health status with the hero health variable.
GreenfootImage healthStatus;
Dungeon dungeon = (Dungeon)getWorld();
Hero hero = dungeon.getHero(); //Here I get the error in the HealthStatus class
HealthStatus healthstatus = new HealthStatus(); // here too in my world class(they are global var) Hero hero = new Hero();
