Esempio n. 1
0
 public void LoadLevel(Map map, string name, AngryBallsEnvironment.GameState gameState)
 {
     if(gameState == AngryBallsEnvironment.GameState.dialog)
     {
         AngryBallsEnvironment.name = name;
         jsonReader = new JSONEditor();
         jsonReader.ReadLevel(map, name, gameState);
     }
 }
Esempio n. 2
0
        public void Initialize(AngryBallsEnvironment.GameState gameState, string name)
        {
            JSONEditor jsonReader = new JSONEditor();
            jsonReader.ReadLevel(this, name, gameState);

            TBIList.Initialize();
        }