mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-04-24 12:23:36 +00:00
15 lines
411 B
C++
15 lines
411 B
C++
#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);
|
|
}; |