38 #ifndef ZENI_GAMESTATE_II_H
39 #define ZENI_GAMESTATE_II_H
55 bool operator<(
const Zeni_Input_ID &rhs)
const;
60 Gamestate_II & operator=(
const Gamestate_II &rhs);
71 virtual void on_event(
const Zeni_Input_ID &
id,
const float &confidence,
const int &action);
72 virtual void on_push();
73 virtual void on_uncover();
75 inline const int & get_joyball_min()
const;
76 inline const int & get_joyball_max()
const;
77 inline const float & get_joystick_min()
const;
78 inline const float & get_joystick_max()
const;
79 inline const int & get_mouse_min()
const;
80 inline const int & get_mouse_max()
const;
81 inline const bool & is_firing_missed_events()
const;
83 inline void set_joyball_min(
const int &
min);
84 inline void set_joyball_max(
const int &
max);
85 inline void set_joystick_min(
const float &min);
86 inline void set_joystick_max(
const float &max);
87 inline void set_mouse_min(
const int &min);
88 inline void set_mouse_max(
const int &max);
89 inline void set_firing_missed_events(
const bool &firing);
93 virtual void set_action(
const Zeni_Input_ID &event,
const int &action);
95 void fire_missed_events();
98 void fire_event(
const Zeni_Input_ID &
id,
const float &confidence);
102 float m_joystick_min;
103 float m_joystick_max;
108 #pragma warning( push )
109 #pragma warning( disable : 4251 )
111 std::map<Zeni_Input_ID, int> m_ii;
112 std::map<int, Zeni_Input_ID> m_rii;
114 #pragma warning( pop )
117 bool m_firing_missed_events;
bool operator<(const TiXmlString &a, const TiXmlString &b)
A new Gamestate base with an Integrated Input technique.
The base class for all gamestates.
uint16_t Uint16
An unsigned 16-bit integer type.