- 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:
wagic.the.homebrew
2011-09-04 02:45:18 +00:00
parent 269934fe1e
commit 33691d1f13
21 changed files with 396 additions and 114 deletions

View File

@@ -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