public Animation(Texture2D texture, float frameTime, bool isLooping, int FrameCount) { this.texture = texture; this.frameTime = frameTime; this.isLooping = isLooping; this.FrameCount = FrameCount; }