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