Package ise.mace.actions

Examples of ise.mace.actions.Death


    // Check to see if we died due to a message in the queue
    if (this.dm.getFoodInPossesion() < 0)
    {
      logger.log(Level.FINE, "I, agent, {0}, am starving to death!",
              dm.getName());
      ec.act(new Death(), dm.getId(), authCode);
    }

    TurnType turn = ec.getCurrentTurnType();

    if (TurnType.firstTurn.equals(turn))
View Full Code Here


  {
    //ADDED THEO
    for (String dead_a : PoliticalAgentGroup.dead_agents)
    {
      if (this.getId().equals(dead_a))
        ec.act(new Death(), this.getId(), authCode);
    }
    PoliticalAgentGroup.dead_agents.clear();
    //********
    dm.newHistoryEntry();
  }
 
View Full Code Here

                ec.nameof(in.getAgent()), in.getReason()
              });

      if (dm.getMemberList().isEmpty())
      {
        ec.act(new Death(), dm.getId(), authCode);
      }
      return;
    }

    if (input.getClass().equals(HuntResult.class))
View Full Code Here

TOP

Related Classes of ise.mace.actions.Death

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.