Aegis2D
Modular C++26 2D game engine for networked games
Loading...
Searching...
No Matches
aegis2d::platform::CapturedKey Struct Reference

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.
 

Detailed Description

End of a key capture.

Member Data Documentation

◆ action

ActionId aegis2d::platform::CapturedKey::action = 0

Action that was waiting for a key.

◆ key

std::optional<Key> aegis2d::platform::CapturedKey::key

Its new key, or nothing if the player cancelled.

◆ taken_from

std::optional<ActionId> aegis2d::platform::CapturedKey::taken_from

Action that lost the key, so the menu can say it is now unbound.


The documentation for this struct was generated from the following file: