Example #1
0
 public void endWarEvent() {
   if (isWarTime()) warEvent.toggleEnd();
   // Automatically makes warEvent null
   setChangedNotify(WAR_END);
 }
Example #2
0
 public boolean isWarTime() {
   return warEvent != null ? warEvent.isWarTime() : false;
 }