public Animation(Texture2D aTexture, int fWidth, int fHeight, float animTime) { texture = aTexture; frameWidth = fWidth; frameHeight = fHeight; frameCount = aTexture.Width / fWidth; currentFrame = 0; color = Color.White; timeBetweenFrames = animTime; }