public Rectangle rectInitialFrame; //first frame
public int frameNumber = 1; //number of frames
public int currentFrame = 0; //current frame
public int frameLength = 20; //how many frame the current frame lasts
public int frameCounter = 0; //how many frames since the last change
public bool looping = false; //does the animation loops
public FrameAnimation sNextAnimation = null; //next animation