예제 #1
0
파일: Field.cs 프로젝트: Ryneqq/Snake
 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;
 }
예제 #2
0
파일: Field.cs 프로젝트: Ryneqq/Snake
 public void ChangeField(Map.Fields field)
 {
     this.field    = field;
     this.walkable = this.IsWalkable();
 }
예제 #3
0
파일: Field.cs 프로젝트: Ryneqq/Snake
 public Field()
 {
     this.field    = Map.Fields.empty;
     this.walkable = true;
 }