blob: 3d6bee61b0b087b7e5fc63a462285969b547b2c3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#pragma once
#include "TutorialConstraint.h"
class InputConstraint : public TutorialConstraint
{
private:
int m_inputMapping; // Should be one of the EControllerActions
public:
virtual ConstraintType getType() { return e_ConstraintInput; }
InputConstraint(int mapping) : TutorialConstraint(-1), m_inputMapping( mapping ) {}
virtual bool isMappingConstrained(int iPad, int mapping);
};
|