This repository has been archived on 2026-04-30. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
Tortuga/client/splash.cpp
T
2013-05-11 23:51:02 +10:00

70 lines
1005 B
C++

#include "splash.hpp"
#include <iostream>
using namespace std;
//-------------------------
//Public access members
//-------------------------
Splash::Splash() {
#ifdef DEBUG
cout << "entering Splash" << endl;
#endif
}
Splash::~Splash() {
#ifdef DEBUG
cout << "leaving Splash" << endl;
#endif
}
//-------------------------
//Frame loop
//-------------------------
void Splash::FrameStart() {
//
}
void Splash::FrameEnd() {
//
}
void Splash::Update() {
//
}
void Splash::Render(SDL_Surface* const screen) {
//
}
//-------------------------
//Event handlers
//-------------------------
void Splash::MouseMotion(SDL_MouseMotionEvent const& motion) {
//
}
void Splash::MouseButtonDown(SDL_MouseButtonEvent const& button) {
//
}
void Splash::MouseButtonUp(SDL_MouseButtonEvent const& button) {
//
}
void Splash::KeyDown(SDL_KeyboardEvent const& key) {
switch(key.keysym.sym) {
case SDLK_ESCAPE:
QuitEvent();
break;
}
}
void Splash::KeyUp(SDL_KeyboardEvent const& key) {
//
}