Ejemplo n.º 1
0
 /// <summary>
 /// Construtor do BOT com a mão ja definida
 /// </summary>
 /// <param name="hand"></param>
 /// <param name="infos"></param>
 /// <param name="eng"></param>
 /// <param name="position"></param>
 public Bot(Lista <Carta> hand, Profile infos, Enginee eng, PlayerPosition position) : base(hand, infos, position)
 {
     this.eng      = eng;
     this.ambiente = this.eng.Enviroment;
     this.SetHand(hand);
     SetProfile(infos);
 }
Ejemplo n.º 2
0
        /// <summary>
        /// Construtor do BOT sem as cartas da mão definidas
        /// </summary>
        /// <param name="infos"></param>
        /// <param name="eng"></param>
        /// <param name="position"></param>
        public Bot(Profile infos, Enginee eng, PlayerPosition position) : base(infos, position)
        {
            this.eng      = eng;
            this.ambiente = this.eng.Enviroment;
            this.SetHand(new Lista <Carta>());
            SetProfile(infos);
            this.moveAnimX            = new DoubleAnimation();
            this.moveAnimY            = new DoubleAnimation();
            this.moveAnimX.Completed += MoveAnimX_Completed;

            this.moveAnimX2            = new DoubleAnimation();
            this.moveAnimY2            = new DoubleAnimation();
            this.moveAnimX2.Completed += MoveAnimX2_Completed;
        }
Ejemplo n.º 3
0
 public Evento(Enginee e)
 {
     this.eng  = e;
     this.anim = new Animation(eng, 900);
     this.anim.MoveAnimX.Completed += MoveAnimX_Completed;
 }