public Entity(float x, float y, Sprite.Sprite sprite) { this.X = x; this.Y = y; this.Width = 0; this.Height = 0; this.Box = new Collision.Box(x, y, 0, 0); this.Sprite = sprite; }
public Static(float x, float y, float width, float height, Sprite.Sprite sprite) : base(x, y, width, height, sprite) { this.X = x; this.Y = y; this.Width = width; this.Height = height; this.Box = new Collision.Box(x, y, width, height); this.Sprite = sprite; }
public Entity(Data.Data data) { this.Data = data; this.Box = new Collision.Box(0, 0, 0, 0); this.Sprite = new Sprite.Sprite(); }