- 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:
@@ -93,6 +93,7 @@ public:
|
||||
|
||||
void LoadGameStates();
|
||||
void SetNextState(int state);
|
||||
void SetCurrentState(GameState * state);
|
||||
void DoTransition(int trans, int tostate, float dur = -1, bool animonly = false);
|
||||
void DoAnimation(int trans, float dur = -1);
|
||||
static hgeParticleSystem * Particles[6];
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -45,6 +45,7 @@ private:
|
||||
void loadPlayer(int playerId, int decknb = 0, bool isAI = false, bool isNetwork = false);
|
||||
void ConstructOpponentMenu(); //loads the opponentMenu if it doesn't exist
|
||||
void initScroller();
|
||||
void setGamePhase(int newGamePhase);
|
||||
|
||||
public:
|
||||
GameStateDuel(GameApp* parent);
|
||||
|
||||
Reference in New Issue
Block a user