Created the client program's framework
There are six scenes here, each of which representing roughly one part of the final program's backbone.
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
#ifndef OPTIONSCREEN_HPP_
|
||||
#define OPTIONSCREEN_HPP_
|
||||
|
||||
#include "base_scene.hpp"
|
||||
|
||||
class OptionScreen : public BaseScene {
|
||||
public:
|
||||
/* Public access members */
|
||||
OptionScreen();
|
||||
~OptionScreen();
|
||||
|
||||
protected:
|
||||
/* Frame loop */
|
||||
void FrameStart();
|
||||
void Update(double delta);
|
||||
void FrameEnd();
|
||||
void Render(SDL_Surface* const);
|
||||
|
||||
/* Event handlers */
|
||||
void MouseMotion(SDL_MouseMotionEvent const&);
|
||||
void MouseButtonDown(SDL_MouseButtonEvent const&);
|
||||
void MouseButtonUp(SDL_MouseButtonEvent const&);
|
||||
void KeyDown(SDL_KeyboardEvent const&);
|
||||
void KeyUp(SDL_KeyboardEvent const&);
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user