public override void addPlayer(Player player)
        {
            if (player.getPosition() == Player.Positions.QB)
            {
                mQBList.Add(player);
            }
            else if (player.getPosition() == Player.Positions.RB)
            {
                mRBList.Add(player);
            }
            else if (player.getPosition() == Player.Positions.WR)
            {
                mWRList.Add(player);
            }
            else if (player.getPosition() == Player.Positions.TE)
            {
                mTEList.Add(player);
            }
            else if (player.getPosition() == Player.Positions.DST)
            {
                mDSTList.Add(player);
            }

            if (player.getPosition() == Player.Positions.WR || player.getPosition() == Player.Positions.TE || player.getPosition() == Player.Positions.RB)
            {
                mFlexList.Add(player);
            }

            if (player.getPosition() == Player.Positions.WR || player.getPosition() == Player.Positions.RB)
            {
                mCollegeFlex.Add(player);
            }
        }
        override public void addPlayer(Player player)
        {
            if (player.getPosition() == Player.Positions.QB)
            {
                mQBList.Add(player);
            }
            else if (player.getPosition() == Player.Positions.RB)
            {
                mRBList.Add(player);
            }
            else if (player.getPosition() == Player.Positions.WR)
            {
                mWRList.Add(player);
            }
            else if (player.getPosition() == Player.Positions.TE)
            {
                mTEList.Add(player);
            }
            else if (player.getPosition() == Player.Positions.DST)
            {
                mDSTList.Add(player);
            }

            if (player.getPosition() == Player.Positions.WR || player.getPosition() == Player.Positions.TE || player.getPosition() == Player.Positions.RB)
            {
                mFlexList.Add(player);
            }

            if (player.getPosition() == Player.Positions.WR || player.getPosition() == Player.Positions.RB)
            {
                mCollegeFlex.Add(player);
            }
        }
        public override void addPlayer(Player player)
        {
            if (player.getPosition() == Player.Positions.F)
            {
                mForwardList.Add(player);
            }
            else if (player.getPosition() == Player.Positions.G)
            {
                mGuardList.Add(player);
            }

            if (player.getPosition() != Player.Positions.INVALID)
            {
                mUtilList.Add(player);
            }
        }
        public override void addPlayer(Player player)
        {
            if (player.getPosition() == Player.Positions.F)
            {
                mForwardList.Add(player);
            }
            else if (player.getPosition() == Player.Positions.G)
            {
                mGuardList.Add(player);
            }

            if (player.getPosition() != Player.Positions.INVALID)
            {
                mUtilList.Add(player);
            }
        }
Beispiel #5
0
        override public void addPlayer(Player player)
        {
            Player.Positions pos = player.getPosition();

            if (pos == Player.Positions.C)
            {
                mCenterList.Add(player);
            }
            else if (pos == Player.Positions.LW || pos == Player.Positions.RW)
            {
                mWingerList.Add(player);
            }
            else if (pos == Player.Positions.D)
            {
                mDefenseList.Add(player);
            }
            else if (pos == Player.Positions.G)
            {
                mGoalieList.Add(player);
            }

            if (pos == Player.Positions.C || pos == Player.Positions.LW || pos == Player.Positions.RW || pos == Player.Positions.D)
            {
                mUtilList.Add(player);
            }
        }