public void Draw(SpriteBatch spriteBatch) { if (Properties.IsAnimated) { Properties.Animate(ref frame, ref animCounter); } spriteBatch.Draw(TextureManager.tiles, Hitbox, new Rectangle(frame * 48, Properties.TextureIndex * 48, 48, 48), Color.White, 0, Vector2.Zero, SpriteEffects.None, 1); }