Exemplo n.º 1
0
 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;
 }
Exemplo n.º 2
0
 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;
 }
Exemplo n.º 3
0
 public Entity(Data.Data data)
 {
     this.Data   = data;
     this.Box    = new Collision.Box(0, 0, 0, 0);
     this.Sprite = new Sprite.Sprite();
 }