Hey guys,
I'm using a Point array to transfer to my panel class that draws the image. The reason I'm using coords is because it shows where the character is in the tileset for directions
Ie. (20,5) is right step facing up.
anyway its coming up with null pointer and I cant figure it out! Here it is:
public void charSetup(){
//Forward
character[0].x = 55; <--These give null pointer!
character[0].y = 150;
character[1].x = 105;
character[1].y = 150;
character[2].x = 5;
character[2].y = 150;
ETC....
}
Thanks PO