@Override public synchronized void beginTurn(){
  final long start=System.nanoTime();
  try {
    destroyObsoleteZones();
  }
 catch (  final Exception e) {
    logger.error("error in beginTurn",e);
  }
  try {
    logNumberOfPlayersOnline();
  }
 catch (  final Exception e) {
    logger.error("error in beginTurn",e);
  }
  try {
    handleKilledEntities();
  }
 catch (  final Exception e) {
    logger.error("error in beginTurn",e);
  }
  try {
    executePlayerLogic();
  }
 catch (  final Exception e) {
    logger.error("error in beginTurn",e);
  }
  try {
    executeNPCsPreLogic();
  }
 catch (  final Exception e) {
    logger.error("error in beginTurn",e);
  }
  try {
    handlePlayersRmTexts();
  }
 catch (  final Exception e) {
    logger.error("error in beginTurn",e);
  }
  logger.debug("Begin turn: " + (System.nanoTime() - start) / 1000000.0);
}

@ Override public synchronized void beginTurn ( ) { final long start = System . nanoTime ( ) ; try { destroyObsoleteZones ( ) ; } catch ( final Exception e ) { logger . error ( "error in beginTurn" , e ) ; } try { logNumberOfPlayersOnline ( ) ; } catch ( final Exception e ) { logger . error ( "error in beginTurn" , e ) ; } try { handleKilledEntities ( ) ; } catch ( final Exception e ) { logger . error ( "error in beginTurn" , e ) ; } try { executePlayerLogic ( ) ; } catch ( final Exception e ) { logger . error ( "error in beginTurn" , e ) ; } try { executeNPCsPreLogic ( ) ; } catch ( final Exception e ) { logger . error ( "error in beginTurn" , e ) ; } try { handlePlayersRmTexts ( ) ; } catch ( final Exception e ) { logger . error ( "error in beginTurn" , e ) ; } logger . debug ( "Begin turn: " + ( System . nanoTime ( ) - start ) / 1000000.0 ) ; }
notify it when a new turn happens .
