public bool checkMusteringPoints( playerInfoStruct player, string type )
    {
        Assert.IsNull(player, "checkMusteringPoints method, gameinfo.cs, ln 1384");
        Assert.IsNull(type, "checkMusteringPoints method, gameinfo.cs, ln 1384");

        if ( player.musteringPoints <= 0)
            return false;
        else
        {
            int temp = player.musteringPoints;
            if (type == "siege" || type == "horseman")
            {
                if ((temp - 2) >= 0)
                    return true;
                else
                    return false;
            }
            else
            {
                if ((temp - 1) >= 0)
                    return true;
                else
                    return false;
            }
        }
    }
    void InitPlayerStructs()
    {
        //1
        playerInfoStruct u = new playerInfoStruct();
        u.playerHouse = "GreyJoy";
        u.color = Color.black;
        u.throne = false;
        u.sword = false;
        u.raven = true;
        u.positionOnRavenInfluencetrack = 1;
        u.numberOfCities = 1;
        u.numberOfPowerTokens = 5;
        u.isPlayer = false;
        u.orders = mOrderList;
        mPlayerList.Add(u);

        u = new playerInfoStruct();
        //
        u.playerHouse = "Lannister";
        u.color = Color.red;
        u.throne = false;
        u.sword = false;
        u.raven = false;
        u.positionOnRavenInfluencetrack = 5;
        u.numberOfCities = 1;
        u.numberOfPowerTokens = 5;
        u.isPlayer = false;
        u.orders = mOrderList;
        mPlayerList.Add(u);

        u = new playerInfoStruct();
        //2
        u.playerHouse = "Tyrell";
        u.color = Color.green;
        u.throne = false;
        u.sword = false;
        u.raven = false;
        u.positionOnRavenInfluencetrack = 3;
        u.numberOfCities = 1;
        u.numberOfPowerTokens = 5;
        u.isPlayer = false;
        u.orders = mOrderList;
        mPlayerList.Add(u);

        u = new playerInfoStruct();
        //3
        u.playerHouse = "Starks";
        u.color = Color.white;
        u.throne = true;
        u.sword = true;
        u.raven = false;
        u.positionOnRavenInfluencetrack = 4;
        u.numberOfCities = 1;
        u.numberOfPowerTokens = 5;
        u.isPlayer = false;
        u.orders = mOrderList;
        mPlayerList.Add(u);

        u = new playerInfoStruct();
        u.playerHouse = "Baratheon";
        u.color = new Color(255, 215, 0);
        u.throne = false;
        u.sword = false;
        u.raven = false;
        u.positionOnRavenInfluencetrack = 2;
        u.numberOfCities = 1;
        u.numberOfPowerTokens = 5;
        u.isPlayer = false;
        u.orders = mOrderList;
        mPlayerList.Add(u);

        u = new playerInfoStruct();
        u.playerHouse = "Martell";
        u.color = new Color(255,140,0);
        u.throne = false;
        u.sword = false;
        u.raven = false;
        u.positionOnRavenInfluencetrack = 2;
        u.numberOfCities = 1;
        u.numberOfPowerTokens = 5;
        u.isPlayer = false;
        u.orders = mOrderList;
        mPlayerList.Add(u);
    }
    private void LoadPlayerDetails()
    {
        StartCoroutine(Wait());
        if( GameObject.Find("Player_GreyJoy") )
        {
            mPlayerList[0].isPlayer = true;
            realPlayer = mPlayerList[0];
            return;
        }

        if (GameObject.Find("Player_Lannister"))
        {
            mPlayerList[1].isPlayer = true;
            realPlayer = mPlayerList[1];
            return;
        }

        if (GameObject.Find("Player_Tyrell"))
        {
            mPlayerList[2].isPlayer = true;
            realPlayer = mPlayerList[2];
            return;
        }

        if (GameObject.Find("Player_Starks"))
        {
            mPlayerList[3].isPlayer = true;
            realPlayer = mPlayerList[3];
            return;
        }

        if (GameObject.Find("Player_Baratheon"))
        {
            mPlayerList[4].isPlayer = true;
            realPlayer = mPlayerList[4];
            return;
        }

        if (GameObject.Find("Player_Martell"))
        {
            mPlayerList[5].isPlayer = true;
            realPlayer = mPlayerList[5];
            return;
        }
    }