void Start() { graphUpdated = false; Debug.Log("HAPPY GARDEN MAIN"); environments = new Environments(); gameFrame = new GameFrame(whatText); //This is not good mvc. here we hand the view to the model, and intend to change the view from the model. No listeners. //InitializeEarthTypes(); //startverdier for get-set dagValgt = 0; //DVS dag 0 spotValgt = Field.Spots[0, 0]; //blir oppdatert hvis spot-array-boksene velges simNumber = 0; //oppdateres til 1 før første Simulering }
public HappyGardenConsole(GameFrame gFrame) { this.gameFrame = gFrame; Debug.Log("HappyGardenConsole opprettet."); }
//public GameFrame gameFrame; public GameFrameView(GameFrame _gameFrame) { //Viewet gis tilgang til Modellen(GameFrame) //gameFrame = _gameFrame; Debug.Log("GameFrameView> Splash screens, intro-video, main menu, options, load, save og slutt-video/outro."); }