1
我有一個像初始化類的構造函數
// Includes, namespace and prototypes
#include "template.h"
#include "Global.h"
#include "Sprite.h"
#include "Gesture.h"
#include "Touch.h"
using namespace AGK;
Gesture currentGesture;
// Begin app, called once at the start
void app::Begin(void)
{
SetupEnvironment(ENV_ANDROID);
CreateBackground();
}
一些代碼,我怎麼會叫currentGesture
的構造在這種情況下,所以我可以利用它?我知道這不是僅僅通過定義app::Begin
以上來調用它。
好像我有其他問題,那麼o.0。謝謝澄清! – Vigrond