R-Type
Distributed multiplayer game engine in C++
Loading...
Searching...
No Matches
InputBuffer::StoredInput Struct Reference

Structure representing a stored input with metadata. More...

#include <InputBuffer.hpp>

Collaboration diagram for InputBuffer::StoredInput:
Collaboration graph

Public Attributes

uint32_t frameNumber
 Frame number where input was captured.
 
InputAction action
 Action performed (MOVE, SHOOT, etc.)
 
InputState state
 Action state (PRESSED, RELEASED, HELD)
 

Detailed Description

Structure representing a stored input with metadata.

Definition at line 42 of file InputBuffer.hpp.

Member Data Documentation

◆ action

InputAction InputBuffer::StoredInput::action

Action performed (MOVE, SHOOT, etc.)

Definition at line 44 of file InputBuffer.hpp.

◆ frameNumber

uint32_t InputBuffer::StoredInput::frameNumber

Frame number where input was captured.

Definition at line 43 of file InputBuffer.hpp.

◆ state

InputState InputBuffer::StoredInput::state

Action state (PRESSED, RELEASED, HELD)

Definition at line 45 of file InputBuffer.hpp.


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