My Project
 
Loading...
Searching...
No Matches
CellSelector Class Reference

#include <cellselector.h>

Inheritance diagram for CellSelector:
Collaboration diagram for CellSelector:

Classes

class  Listener
 

Public Member Functions

 CellSelector (DungeonTilemap *map)
 
void select (int cell)
 
void cancel ()
 

Public Attributes

Listenerlistener
 
bool enabled
 

Protected Member Functions

virtual void onClick (TouchScreen::Touch *touch)
 
virtual void onTouchDown (TouchScreen::Touch *t)
 
virtual void onTouchUp (TouchScreen::Touch *t)
 
virtual void onDrag (TouchScreen::Touch *t)
 

Constructor & Destructor Documentation

◆ CellSelector()

CellSelector::CellSelector ( DungeonTilemap * map)

Member Function Documentation

◆ cancel()

void CellSelector::cancel ( )
Here is the call graph for this function:

◆ onClick()

void CellSelector::onClick ( TouchScreen::Touch * touch)
protectedvirtual
Here is the call graph for this function:

◆ onDrag()

void CellSelector::onDrag ( TouchScreen::Touch * t)
protectedvirtual

◆ onTouchDown()

void CellSelector::onTouchDown ( TouchScreen::Touch * t)
protectedvirtual
Here is the call graph for this function:
Here is the caller graph for this function:

◆ onTouchUp()

void CellSelector::onTouchUp ( TouchScreen::Touch * t)
protectedvirtual
Here is the call graph for this function:

◆ select()

void CellSelector::select ( int cell)
Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ enabled

bool CellSelector::enabled

◆ listener

Listener* CellSelector::listener

The documentation for this class was generated from the following files: