Exemple #1
0
 public SimpleKMP()
 {
     StartPositions       = new StartPositions();
     EnemyRoutes          = new EnemyRoutes();
     ItemRoutes           = new ItemRoutes();
     CheckPoints          = new CheckPoints();
     Objects              = new Objects();
     Routes               = new Routes();
     Area                 = new Area();
     Camera               = new Camera();
     RespawnPoints        = new RespawnPoints();
     GliderRoutes         = new GliderRoutes();
     StageInformation     = new StageInformation();
     currentCullingRoutes = new List <int>();
 }
Exemple #2
0
        public SimpleKMP(byte[] data)
        {
            KMP kmp_data;

            kmp_data = new KMP(data);

            StartPositions       = new StartPositions(kmp_data.KartPoint);
            EnemyRoutes          = new EnemyRoutes(kmp_data.EnemyPoint, kmp_data.EnemyPointPath);
            ItemRoutes           = new ItemRoutes(kmp_data.ItemPoint, kmp_data.ItemPointPath);
            CheckPoints          = new CheckPoints(kmp_data.CheckPoint, kmp_data.CheckPointPath);
            Objects              = new Objects(kmp_data.GlobalObject);
            Routes               = new Routes(kmp_data.PointInfo);
            Area                 = new Area(kmp_data.Area);
            Camera               = new Camera(kmp_data.Camera);
            RespawnPoints        = new RespawnPoints(kmp_data.JugemPoint);
            GliderRoutes         = new GliderRoutes(kmp_data.GliderPoint, kmp_data.GliderPointPath);
            StageInformation     = new StageInformation(kmp_data.StageInfo);
            currentCullingRoutes = new List <int>();
        }