2D Engine v0.1.0
Loading...
Searching...
No Matches
InputComponent Struct Reference

Input Component. More...

#include <Components.hpp>

Collaboration diagram for InputComponent:
Collaboration graph

Public Attributes

bool leftPress {false}
 
bool rightPress {false}
 
bool spacePress {false}
 
float speed {0.1f}
 
float jumpSpeed {-5.5f}
 

Detailed Description

Input Component.

Member Data Documentation

◆ jumpSpeed

float InputComponent::jumpSpeed {-5.5f}

◆ leftPress

bool InputComponent::leftPress {false}

◆ rightPress

bool InputComponent::rightPress {false}

◆ spacePress

bool InputComponent::spacePress {false}

◆ speed

float InputComponent::speed {0.1f}

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