示例#1
0
 public static IGameStrategy createStrategy(Strategies s, int maxPlayer)
 {
     if (s.Equals(Strategies.SimpleGameStrategy))
     {
         return new SimpleGameStrategy(maxPlayer);
     }
     return null;
 }