Exemplo n.º 1
0
        private string SpitPlayer(string pos, int slot, bool bDef)
        {
            //  Get a player details
            var player = Team.GetPlayerAt(pos, slot, bDef, true);             //  LCB, 1, true
            var p      = new PlayerCell(player, pos, CellStyle.Player, Team.TeamCode);

            if ((pos == "TE") || (pos == "LCB") || (pos == "RCB"))
            {
                p.Offset = true;
            }
            return(p.Render());
        }
Exemplo n.º 2
0
 private string SpitPlayer( string pos, int slot, bool bDef)
 {
     //  Get a player details
     var player = Team.GetPlayerAt(pos, slot, bDef, true); //  LCB, 1, true
     var p = new PlayerCell(player, pos, CellStyle.Player, Team.TeamCode);
     if ((pos == "TE") || (pos == "LCB") || (pos == "RCB"))
         p.Offset = true;
     return p.Render();
 }