Beyond_Beyaan.Data_Modules.Race.GetShip C# (CSharp) Méthode

GetShip() public méthode

public GetShip ( int type, int whichBody ) : BBSprite
type int
whichBody int
Résultat BBSprite
        public BBSprite GetShip(int type, int whichBody)
        {
            if (type < ShipTypes.Count)
            {
                if (whichBody < ShipTypes[type].Bodies.Count)
                {
                    return ShipTypes[type].Bodies[whichBody];
                }
            }
            return null;
        }