double-hit-balls/game/game_area_interface.h

26 lines
506 B
C
Raw Normal View History

2017-01-10 12:43:06 +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) { }
2017-02-26 23:07:37 +00:00
virtual void OnTapUpAfterMove(vec2) { }
2017-01-10 12:43:06 +00:00
virtual void OnTapDown(vec2) { }
virtual void OnFling(vec2) { }
virtual void OnScroll(vec2) { }
virtual ~TGameAreaAncestor() { } //By default destructor is not virtual
};
#endif