Esempio n. 1
0
 public Field(int x, int y, Vector2 pos)
 {
     this.field    = Map.Fields.empty;
     this.walkable = true;
     this.x        = x;
     this.y        = y;
     this.pos      = pos;
     this.parent   = this;
 }
Esempio n. 2
0
 public void ChangeField(Map.Fields field)
 {
     this.field    = field;
     this.walkable = this.IsWalkable();
 }
Esempio n. 3
0
 public Field()
 {
     this.field    = Map.Fields.empty;
     this.walkable = true;
 }