easyx_framework V1.0.0
基于easyx的c++游戏框架
 
载入中...
搜索中...
未找到
KeyBindInfo结构体 参考

按键映射需要的信息. 更多...

#include <InputComponent.h>

Public 属性

std::function< void()> fun
 
InputType TYPE = InputType::Pressed
 
bool isPressed = false
 
float lastTime = 0
 

详细描述

按键映射需要的信息.

类成员变量说明

◆ fun

std::function<void()> KeyBindInfo::fun

◆ isPressed

bool KeyBindInfo::isPressed = false

◆ lastTime

float KeyBindInfo::lastTime = 0

◆ TYPE

InputType KeyBindInfo::TYPE = InputType::Pressed