private void barnNextTick(Barn barn)
 {
     if (!barn.HasBuilt)
     {
         barn.NextTick();
     }
 }
        public Barn AddAndSummonBarn(int hostPower, int hostChosenX, int hostChosenY)
        {
            Barn brandNewBarn = new Barn(this);

            brandNewBarn.BarnSummon(hostPower, hostChosenX, hostChosenY);
            Barns.Add(brandNewBarn);
            return(brandNewBarn);
            //new List<Human>() { Host, Hostess }
        }
示例#3
0
 public BarnPart(int _x, int _y, Barn barn) : base(_x, _y)
 {
     this.barn = barn;
 }