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