private static IEnumerable<IPlayerMoveForUpdate> GetTradingMoves(StudentGroup studentGroup)
 {
     return (from inDegree in GameConstants.RealDegrees
             where inDegree != studentGroup.Degree
             select new TradingMove(studentGroup.Degree, studentGroup.Quantity, inDegree));
 }
예제 #2
0
 public SpecialTradingSite(DegreeType degree)
 {
     TradeOutDegree = degree;
     _studentsNeeded =
         new StudentGroup(degree, TradeOutStudentQuantity);
 }