Beyond_Beyaan.Data_Modules.Race.GetShip C# (CSharp) 메소드

GetShip() 공개 메소드

public GetShip ( int type, int whichBody ) : BBSprite
type int
whichBody int
리턴 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;
        }