Switched TestSystems and InGame
This commit is contained in:
@@ -3,9 +3,15 @@
|
||||
|
||||
#include "base_scene.hpp"
|
||||
|
||||
#include "player_manager.hpp"
|
||||
|
||||
#include "delta.hpp"
|
||||
#include "frame_rate.hpp"
|
||||
#include "config_utility.hpp"
|
||||
#include "surface_manager.hpp"
|
||||
|
||||
#include <string>
|
||||
|
||||
class TestSystems : public BaseScene {
|
||||
public:
|
||||
//Public access members
|
||||
@@ -26,9 +32,20 @@ protected:
|
||||
virtual void KeyDown(SDL_KeyboardEvent const&);
|
||||
virtual void KeyUp(SDL_KeyboardEvent const&);
|
||||
|
||||
//utilities
|
||||
void NewPlayer(int index, std::string avatarName, int x, int y);
|
||||
void SwitchToPlayer(int index);
|
||||
|
||||
//members
|
||||
PlayerManager playerMgr;
|
||||
|
||||
Delta delta;
|
||||
FrameRate frameRate;
|
||||
ConfigUtility* configUtil;
|
||||
SurfaceManager* surfaceMgr;
|
||||
|
||||
int playerCounter;
|
||||
int currentPlayer;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user