6 #include "IEnvironmentTexturesObserver.h"
7 #include "EnvironmentTextures.h"
8 #include "CityThemes.h"
9 #include "CityThemeState.h"
10 #include "ThemeStateTransitionController.h"
22 : m_environmentTextures(environmentTextures)
23 , m_themeStateTransitionController(themeStateTransitionController)
25 environmentTextures.RegisterObserver(*
this);
30 m_environmentTextures.RemoveObserver(*
this);
35 if(state.Name == m_themeStateTransitionController.GetTargetStateName())
37 m_themeStateTransitionController.SetState(state, stateTextures);