Game of Ur 0.3.3
This is a computer adaptation of Game of Ur, written in C++ mainly using SDL and OpenGL.
Loading...
Searching...
No Matches
ToyMaker::CommonActionData Struct Reference

A struct containing meta-info that will be present for all types of actions. More...

#include <input_data.hpp>

Public Attributes

ActionTrigger mTriggeredBy { ActionTrigger::UPDATE }
 The condition which caused this action to be signalled.
 
uint32_t mTimestamp {}
 The time at which the action was signalled.
 
uint32_t mDuration { 0 }
 Unused for now, but presumably the duration an active input has been active.
 
bool mActivated {false}
 I'm not sure about this one.
 
ActionType mType { ActionType::BUTTON }
 The type of value associated with this action.
 

Detailed Description

A struct containing meta-info that will be present for all types of actions.

Member Data Documentation

◆ mActivated

bool ToyMaker::CommonActionData::mActivated {false}

I'm not sure about this one.

Todo
Find out what this does.

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