Change State
Posted: 19 Nov 2020, 01:35
Hi, I have a state enum class like this:
I have configured buttons that change this state in xaml files. My question is how can I change this property in C ++ code and notify Noesis that it changes?
The reason I want to do it. In my game there are some events that are not related to the GUI, but according to some events I want to change the view that is controlled by the ViewModel class which is very similar to the Menu3D example.
Code: Select all
enum class State {
Principal,
Start,
Settings
};The reason I want to do it. In my game there are some events that are not related to the GUI, but according to some events I want to change the view that is controlled by the ViewModel class which is very similar to the Menu3D example.