2013-04-09 18:13:47 +00:00
|
|
|
#ifndef _GUIDETECTDEVICE_H_
|
|
|
|
#define _GUIDETECTDEVICE_H_
|
|
|
|
|
2013-06-02 15:08:32 +00:00
|
|
|
#include "../GuiComponent.h"
|
2013-04-09 18:13:47 +00:00
|
|
|
|
2013-06-02 15:08:32 +00:00
|
|
|
class GuiDetectDevice : public GuiComponent
|
2013-04-09 18:13:47 +00:00
|
|
|
{
|
|
|
|
public:
|
|
|
|
GuiDetectDevice(Window* window);
|
|
|
|
|
2013-06-02 15:08:32 +00:00
|
|
|
bool input(InputConfig* config, Input input);
|
2013-04-09 18:13:47 +00:00
|
|
|
void update(int deltaTime);
|
2013-07-26 23:28:51 +00:00
|
|
|
void render(const Eigen::Affine3f& parentTrans) override;
|
2013-04-09 18:13:47 +00:00
|
|
|
|
|
|
|
private:
|
|
|
|
void done();
|
|
|
|
|
|
|
|
bool mHoldingFinish;
|
|
|
|
int mFinishTimer;
|
|
|
|
int mCurrentPlayer;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|