コード例 #1
0
 private boolean processMaps() {
   if (gameState.getTime() - timeSinceLastProduction >= PRODUCTION_INTERVAL) {
     if (!mapController.updateProduction()) {
       return false;
     }
     mapController.updateBugfix();
     timeSinceLastProduction = gameState.getTime();
   }
   return true;
 }