public ActionPanelBattleLandModifierPhase(ActionPanelHolder ListActionMenuChoice, SorcererStreetMap Map, SorcererStreetUnit PlayerUnit)
     : base(PanelName, ListActionMenuChoice, null, false)
 {
     this.Map           = Map;
     this.PlayerUnit    = PlayerUnit;
     this.ActiveTerrain = Map.GetTerrain(PlayerUnit);
 }
Example #2
0
        public Player(string Name, string PlayerType, bool IsHuman, bool IsOnline, int Team, Card[] ArrayCardInDeck)
        {
            this.Name            = Name;
            this.PlayerType      = PlayerType;
            this.IsHuman         = IsHuman;
            this.IsOnline        = IsOnline;
            this.Team            = Team;
            this.ArrayCardInDeck = ArrayCardInDeck;

            if (Team == 0)
            {
                Color = Color.Blue;
            }
            else
            {
                Color = Color.Red;
            }

            CurrentDirection        = Directions.None;
            GamePiece               = new SorcererStreetUnit();
            ListRemainingCardInDeck = new List <Card>(ArrayCardInDeck);
            ListCardInHand          = new List <Card>();
        }