Hi everyone
I have a problem i can't solve by myself.
First of all, i mad a class Melee, subclass of Mob.
In class Mob, i have a boolean that predicts if the actor is on the ground or not, using getImage().getHeight(); etc (found that in many exemples)
Everything worked well until i tried to animate the melee class.
I call my images in the Melee class.
Melee uses the onGround boolean that is defined in Mob.
When i launch the programm it returns a Nullpointerexception, related to onGround, and on getImage().getHeight();
After a few tests, i discovered the problem came not from getImage().
So it's the getHeight method that dont find any target.
I dont know why and can't find a solution
Thanks for helping me
And sorry for my poor english
Lordkallad
