Example #1
0
    void Start()
    {
        //Text File Class
        textFile = new TestScene_LevelLayoutFromTextFile();

        textFile.ReadTextFile();

        //model
        //   model = new TestScene_LevelModel(18);

        // Controller
        controller = new TestScene_LevelController();
        controller.SetModel(model);
        controller.SetView(view);

        // View
        view = new TestScene_LevelView();
        view.SetTextFile(textFile);

        DisplayTextLevel();
        onClickAdd1();
    }
Example #2
0
 public void SetTextFile(TestScene_LevelLayoutFromTextFile textFile)
 {
     this.textFile = textFile;
 }