mirror of https://github.com/axmolengine/axmol.git
25 lines
461 B
C
25 lines
461 B
C
|
#ifndef __CHANGEPAGEACTION_H__
|
||
|
#define __CHANGEPAGEACTION_H__
|
||
|
|
||
|
#include "ControllerAction.h"
|
||
|
|
||
|
NS_FGUI_BEGIN
|
||
|
|
||
|
class ChangePageAction : public ControllerAction
|
||
|
{
|
||
|
public:
|
||
|
virtual void setup(ByteBuffer * buffer) override;
|
||
|
|
||
|
std::string objectId;
|
||
|
std::string controllerName;
|
||
|
std::string targetPage;
|
||
|
|
||
|
protected:
|
||
|
virtual void enter(GController* controller) override;
|
||
|
virtual void leave(GController* controller) override;
|
||
|
};
|
||
|
|
||
|
NS_FGUI_END
|
||
|
|
||
|
#endif
|