5 Commits

Author SHA1 Message Date
Vasily Davydov
2b2ffb6dcf state-handler: #6 add state controller functions
- HandleState to set an event of the state
- SetState to update current state to new
2022-10-05 16:34:14 +03:00
Vasily Davydov
15a825bbd0 state-handler: #6 add event class 2022-10-05 11:26:08 +03:00
Vasily Davydov
b231d6e9db state-handler: replace EVENT_HANDL struct with enum
This is done due to passing the values to the key event of the state
2022-10-05 11:16:22 +03:00
Vasily Davydov
19424b0976 state-handler: #6 rename header 2022-10-05 10:55:29 +03:00
Vasily Davydov
5eb7933676 state-handler: #6 rename the class 2022-10-05 10:27:12 +03:00