The state of a key or button this frame. DOWN lasts while it is held; START and END are set
only on the frame it went down or up.
state := Key_Current_State.DOWN | .START;
assert((state & .START) != 0);
assert((state & .END) == 0);Members
- NONE
- DOWN
- START
- END