Пример #1
0
 public void Draw(SpriteBatch spriteBatch, TextureRegion textureRegion)
 {
     textureRegion.Draw(spriteBatch, position, index);
 }
Пример #2
0
 public Animation(TextureRegion textureRegion)
 {
     this.textureRegion = textureRegion;
 }
Пример #3
0
 public Layer(TextureRegion textureRegion)
 {
     this.textureRegion = textureRegion;
     tileList           = new List <Tile>();
 }