27 lines
373 B
C++
27 lines
373 B
C++
#pragma once
|
|
#include <vector>
|
|
#include "IInputBinding.h"
|
|
|
|
namespace TLAC::Input
|
|
{
|
|
class Binding
|
|
{
|
|
public:
|
|
std::vector<IInputBinding*> InputBindings;
|
|
|
|
Binding();
|
|
~Binding();
|
|
|
|
void AddBinding(IInputBinding* inputBinding);
|
|
|
|
bool AnyDown();
|
|
bool AnyTapped();
|
|
bool AnyReleased();
|
|
|
|
int GetDownCount();
|
|
int GetTappedCount();
|
|
int GetReleasedCount();
|
|
};
|
|
}
|
|
|