Esempio n. 1
0
 public override IEnumerable <Status> Run()
 {
     if (Tree != null)
     {
         return(base.Run());
     }
     Tree = new DepositMoney(Agent, Money);
     Tree.Initialize();
     return(base.Run());
 }
Esempio n. 2
0
        public override IEnumerable <Status> Run()
        {
            if (Tree != null)
            {
                return(base.Run());
            }
            var coins = new ResourceAmount("Coins", 1);

            Tree = new DepositMoney(Agent, Money);
            Tree.Initialize();
            return(base.Run());
        }