示例#1
0
 public Zone(ZoneModeEnum mode, int left, int top, int width, int height)
 {
     this.left = left;
     this.top = top;
     this.right = left + width;
     this.bottom = top + height;
     Mode = mode;
 }
示例#2
0
 public Zone(int left, int top, int width, int height)
 {
     this.left = left;
     this.top = top;
     this.right = left + width;
     this.bottom = top + height;
     Mode = ZoneModeEnum.GameCoordinates;
 }
示例#3
0
 public Zone(ZoneModeEnum mode)
 {
     left = 0; right = 0; top = 0; bottom = 0;
     Mode = mode;
 }
示例#4
0
 //constructors
 public Zone()
 {
     left = 0; right = 0; top = 0; bottom = 0;
     Mode = ZoneModeEnum.GameCoordinates;
 }