示例#1
0
        public static Gdi Create(ScummEngine vm, GameInfo game)
        {
            Gdi gdi;

            switch (game.Version)
            {
            case 0:
            case 1:
                gdi = new Gdi1(vm, game);
                break;

            case 2:
                gdi = new Gdi2(vm, game);
                break;

            default:
                gdi = new Gdi(vm, game);
                break;
            }
            return(gdi);
        }
示例#2
0
文件: Gdi.cs 项目: scemino/nscumm
 public static Gdi Create(ScummEngine vm, GameInfo game)
 {
     Gdi gdi;
     switch (game.Version)
     {
         case 0:
         case 1:
             gdi = new Gdi1(vm, game);
             break;
         case 2:
             gdi = new Gdi2(vm, game);
             break;
         default:
             gdi = new Gdi(vm, game);
             break;
     }
     return gdi;
 }