Пример #1
0
 public void GreedyMoveToFirstClaimable_first_level_non_agent()
 {
     IAgentUpdateInfo agentUpdate;
     GAgent agent = new Pawn();
     const bool goToEnemy = false;
     IDeck deck = null;
     MoveSkills.GreedyMoveToFirstClaimable(agentUpdate, agent, goToEnemy, deck);
 }
Пример #2
0
 protected virtual void GreedyClaim(IAgentUpdateInfo agentUpdate, Pawn agent)
 {
     string displayHandle = agentUpdate.Node.Owner.DisplayHandle;
     if (ClaimSkills.TryClaim(agentUpdate.Node, agent))
     {
         Deck.Trace("Claimed From Node Owner: " + displayHandle, TraceType.Information);
         MoveSkills.GreedyMoveToFirstClaimable(agentUpdate, agent);
     }
 }