public GetShip ( int type, int whichBody ) : |
||
type | int | |
whichBody | int | |
리턴 |
public BBSprite GetShip(int type, int whichBody)
{
if (type < ShipTypes.Count)
{
if (whichBody < ShipTypes[type].Bodies.Count)
{
return ShipTypes[type].Bodies[whichBody];
}
}
return null;
}