Neo  0.5.0
Developer Documentation
Neo2D::TileSheet Class Reference

Implements a tile sheet from which it is possible to retrieve one specific tile. More...

#include <Tile.h>

Public Member Functions

 TileSheet ()
 
void loadImage (const char *path, unsigned int width, unsigned int height, unsigned int dist)
 
Vector4 getTexCoords (unsigned int x, unsigned int y)
 
int getImage ()
 

Detailed Description

Implements a tile sheet from which it is possible to retrieve one specific tile.

Author
Yannick Pflanzer

Constructor & Destructor Documentation

Neo2D::TileSheet::TileSheet ( )
inline

Member Function Documentation

int Neo2D::TileSheet::getImage ( )
inline
Vector4 Neo2D::TileSheet::getTexCoords ( unsigned int  x,
unsigned int  y 
)
void Neo2D::TileSheet::loadImage ( const char *  path,
unsigned int  width,
unsigned int  height,
unsigned int  dist 
)

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