Esempio n. 1
0
 public Sprite(Decor father, string texture) : base(father.Game)
 {
     this.texture  = texture;
     this.position = new Vector2(0, 0);
     this.size     = new Vector2(100, 100);
     this.father   = father;
 }
Esempio n. 2
0
 public Sprite(Decor father, Vector2 position, string texture, Vector2 size) : base(father.Game)
 {
     this.texture  = texture;
     this.position = position;
     this.size     = size;
     this.father   = father;
 }