コード例 #1
0
        static CrewMember[] GetInferiors(CrewMember member, SpaceShip ship)
        {
            var res = new List <CrewMember>();

            inferiors(member, ship.Captain, res);
            return(res.ToArray());
        }
コード例 #2
0
        static CrewMember[] PossibleInfections(CrewMember member, SpaceShip ship)
        {
            var res = new List <CrewMember>();

            possibleInfections(member, ship.Captain, res);
            return(res.ToArray());
        }