R-Type
Public Attributes | List of all members
GameEngine::PressableComponent Struct Reference

#include <PressableComponent.hpp>

Public Attributes

Recti hitbox
 
Recti textureDefault
 
Recti textureHovered
 
Recti texturePressed
 
PressableState state
 
std::function< void()> action
 

Member Data Documentation

◆ action

std::function<void()> GameEngine::PressableComponent::action

◆ hitbox

Recti GameEngine::PressableComponent::hitbox

◆ state

PressableState GameEngine::PressableComponent::state

◆ textureDefault

Recti GameEngine::PressableComponent::textureDefault

◆ textureHovered

Recti GameEngine::PressableComponent::textureHovered

◆ texturePressed

Recti GameEngine::PressableComponent::texturePressed

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