public void Draw(SpriteBatch spriteBatch, TextureRegion textureRegion) { textureRegion.Draw(spriteBatch, position, index); }
public Animation(TextureRegion textureRegion) { this.textureRegion = textureRegion; }
public Layer(TextureRegion textureRegion) { this.textureRegion = textureRegion; tileList = new List <Tile>(); }