예제 #1
0
파일: Zone.cs 프로젝트: righnatios/HenryRTS
 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
파일: Zone.cs 프로젝트: righnatios/HenryRTS
 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
파일: Zone.cs 프로젝트: righnatios/HenryRTS
 public Zone(ZoneModeEnum mode)
 {
     left = 0; right = 0; top = 0; bottom = 0;
     Mode = mode;
 }
예제 #4
0
파일: Zone.cs 프로젝트: righnatios/HenryRTS
 //constructors
 public Zone()
 {
     left = 0; right = 0; top = 0; bottom = 0;
     Mode = ZoneModeEnum.GameCoordinates;
 }