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; }
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; }