double-hit-balls/game/game_area_interface.h

26 lines
524 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() { }
2017-11-14 17:04:04 +00:00
virtual void Update(size_t) { }
virtual void OnTapUp(Vector2f) { }
virtual void OnTapUpAfterMove(Vector2f) { }
2017-02-26 23:07:37 +00:00
2017-11-14 17:04:04 +00:00
virtual void OnTapDown(Vector2f) { }
virtual void OnFling(Vector2f) { }
virtual void OnScroll(Vector2f) { }
2017-01-10 12:43:06 +00:00
virtual ~TGameAreaAncestor() { } //By default destructor is not virtual
};
#endif