Exemplo n.º 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;
 }
Exemplo n.º 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;
 }
Exemplo n.º 3
0
 public Zone(ZoneModeEnum mode)
 {
     left = 0; right = 0; top = 0; bottom = 0;
     Mode = mode;
 }
Exemplo n.º 4
0
 //constructors
 public Zone()
 {
     left = 0; right = 0; top = 0; bottom = 0;
     Mode = ZoneModeEnum.GameCoordinates;
 }