entity from wal now have a comparaison operator using uid

This commit is contained in:
arthur.jamet
2021-06-08 08:53:13 +02:00
parent d41670ae40
commit f56a488a7e
7 changed files with 86 additions and 32 deletions

View File

@@ -18,7 +18,7 @@ namespace BBM
WAL::Wal &wal;
//! @brief index of the current button selected
int _buttonIndex = 0;
WAL::Entity *currentButton;
//! @brief move vector
Vector2f move;
@@ -29,9 +29,8 @@ namespace BBM
//! @brief Cancel action
bool cancel = false;
//! @brief update button index
//! @param length length of the button set
void updateButtonIndex(int length);
//! @brief update current button reference
void updateCurrentButton();
//! @brief time (in mili second) since last check
std::chrono::time_point<std::chrono::steady_clock> _now;