Beispiel #1
0
 public void DrawCard()
 {
     if (this.Count == 0)
     {
         return;
     }
     this.Backside.Position = this.Position + Backside.Origin;
     this.Backside.Scale    = Vector2.One;
     if (this.PlayerID == ePlayerId.PLAYER)
     {
         this.Backside.AddMoveTo(new MoveTo(0.15f, new Vector2(
                                                this.Position.X,
                                                GlobalSetting.Default.PlayerHand.Y)));
     }
     else
     {
         this.Backside.AddMoveTo(new MoveTo(0.15f, new Vector2(
                                                this.Position.X,
                                                ComputerSetting.Default.Hand.Y)));
     }
     Backside.AddScaleTo(new ScaleTo(0.20f, new Vector2(0.15f, 1.2f)));
     this.MoveTopToDeck(eDeckId.HAND);
 }