Exemple #1
0
 public override void setTexture(Texture texture)
 {
     this.sprite.SwapTexture(texture.getTexture());
 }
Exemple #2
0
 public Sprite(Image image, Texture texture, Size size, SpriteType name)
 {
     this.sprite = new Azul.Sprite(texture.getTexture(), image.getRect(), size.getRect());
     this.name   = name;
 }