|
Aegis2D
Modular C++26 2D game engine for networked games
|
End of a key capture. More...
#include <aegis2d/platform/key_capture.hpp>
Public Attributes | |
| ActionId | action = 0 |
| Action that was waiting for a key. | |
| std::optional< Key > | key |
| Its new key, or nothing if the player cancelled. | |
| std::optional< ActionId > | taken_from |
| Action that lost the key, so the menu can say it is now unbound. | |
End of a key capture.
| ActionId aegis2d::platform::CapturedKey::action = 0 |
Action that was waiting for a key.
| std::optional<Key> aegis2d::platform::CapturedKey::key |
Its new key, or nothing if the player cancelled.
| std::optional<ActionId> aegis2d::platform::CapturedKey::taken_from |
Action that lost the key, so the menu can say it is now unbound.