GameApi 28
Library used by GameApi Builder tool
Loading...
Searching...
No Matches
TileScroller2d Class Reference
Inheritance diagram for TileScroller2d:
Collaboration diagram for TileScroller2d:

Public Member Functions

 TileScroller2d (TilePlayer *player, float speed, int cell_sx, int cell_sy, int screen_sx, int screen_sy)
virtual Point get_pos () const
virtual void handle_event (MainLoopEvent &e)
virtual void execute (MainLoopEnv &e)
void reset ()
Public Member Functions inherited from TileScroller
virtual ~TileScroller ()

Constructor & Destructor Documentation

◆ TileScroller2d()

TileScroller2d::TileScroller2d ( TilePlayer * player,
float speed,
int cell_sx,
int cell_sy,
int screen_sx,
int screen_sy )
inline

Member Function Documentation

◆ execute()

virtual void TileScroller2d::execute ( MainLoopEnv & e)
inlinevirtual

Implements TileScroller.

◆ get_pos()

virtual Point TileScroller2d::get_pos ( ) const
inlinevirtual

Implements TileScroller.

◆ handle_event()

virtual void TileScroller2d::handle_event ( MainLoopEvent & e)
inlinevirtual

Implements TileScroller.

◆ reset()

void TileScroller2d::reset ( )
inlinevirtual

Implements TileScroller.


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