28 lines
556 B
C++
28 lines
556 B
C++
#ifndef COMBAT_HPP_
|
|
#define COMBAT_HPP_
|
|
|
|
#include "base_scene.hpp"
|
|
|
|
class Combat : public BaseScene {
|
|
public:
|
|
/* Public access members */
|
|
Combat();
|
|
~Combat();
|
|
|
|
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
|