double-hit-balls/jni/game_area_interface.h

24 lines
480 B
C
Raw Normal View History

2013-01-19 21:23:44 +00:00
#ifndef GAME_AREA_INTERFACE_H_INCLUDED
#define GAME_AREA_INTERFACE_H_INCLUDED
#include "include/Engine.h"
using namespace SE;
class TGameAreaAncestor
{
public:
virtual void Draw() { }
virtual void Update(cardinal) { }
virtual void OnTapUp(vec2) { }
virtual void OnTapDown(vec2) { }
virtual void OnFling(vec2) { }
virtual void OnScroll(vec2) { }
virtual ~TGameAreaAncestor() { } //By default destructor is not virtual
};
#endif