a1b248d1d7
There are six scenes here, each of which representing roughly one part of the final program's backbone.
28 lines
586 B
C++
28 lines
586 B
C++
#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
|