- Added ads support for Android
- basic "message" system between JGE and java through jni - Fixed pause/resume on android/sdl
This commit is contained in:
@@ -44,9 +44,10 @@ class GameState
|
||||
protected:
|
||||
GameApp* mParent;
|
||||
JGE* mEngine;
|
||||
string mStringID;
|
||||
|
||||
public:
|
||||
GameState(GameApp* parent);
|
||||
GameState(GameApp* parent, string id);
|
||||
virtual ~GameState(){}
|
||||
|
||||
virtual void Create(){}
|
||||
@@ -62,6 +63,8 @@ public:
|
||||
virtual void Update(float dt) = 0;
|
||||
virtual void Render() = 0;
|
||||
|
||||
string getStringID() {return mStringID;};
|
||||
|
||||
// deck manipulation methods
|
||||
// 2010/09/15:
|
||||
// this was originally one method to do everything. That has been split up into two distinct
|
||||
|
||||
Reference in New Issue
Block a user