8 Commits

Author SHA1 Message Date
Vasily Davydov
69d767a73e state-handler: #6 add state controller functions
- HandleState to set an event of the state
- SetState to update current state to new
2022-10-10 10:43:29 +03:00
Vasily Davydov
f95c15e13c state-handler: #6 change constructor args 2022-10-10 10:39:44 +03:00
Vasily Davydov
0c389658fa state-handler: #6 prepare for displaying values
Add internal fucntionality for:
- getBarPressure()
- getBarSpeed()
- displaySet(int, int)
2022-10-10 10:38:36 +03:00
Vasily Davydov
0e404c4a92 state-handler: #6 add state controller functions
- HandleState to set an event of the state
- SetState to update current state to new
2022-10-10 10:38:36 +03:00
Vasily Davydov
def05a17e1 state-handler: #6 change constructor args 2022-10-10 10:38:36 +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
f77fd5040d state-handler: fix constructor args 2022-10-05 11:04:10 +03:00
Vasily Davydov
5eb7933676 state-handler: #6 rename the class 2022-10-05 10:27:12 +03:00