Arch Game Engine  0.2
Public Member Functions | List of all members
Stage Class Reference

The Stage class stores a Map and Tileset. More...

#include <stage.h>

Public Member Functions

void createStage (Map m, Tileset t)
 Create a stage by passing in a Map and Tileset.
 
void createStage (string filename, string name, string img, SDL_Renderer *ren, int width, int height, int r, int count)
 Create a stage by passing in the maps file, a name for the tiles, file of the tile image, the renderer, width and height of a tile, what row of the image the tiles are onem and how many tiles there are.
 
void createStage (string filename, string name, string img, SDL_Renderer *ren, int width, int height, int r, int rcount, int count)
 
void createStage (string filename, int startid, string name, string img, SDL_Renderer *ren, int width, int height, int r, int count)
 
void createStage (string filename, int startid, string name, string img, SDL_Renderer *ren, int width, int height, int r, int rcount, int count)
 
void setMap (Map m)
 Set the Map by passing in a Map.
 
Map setMap (string filename)
 Load in a new map by passing in the map file.
 
Map getMap () const
 Get the Map.
 
void setTileset (Tileset t)
 Set the Tileset with a given Tileset.
 
Tileset setTileset (string name, string img, SDL_Renderer *ren, int width, int height, int r, int count)
 
Tileset setTileset (string name, string img, SDL_Renderer *ren, int width, int height, int r, int rcount, int count)
 
Tileset setTileset (int startid, string name, string img, SDL_Renderer *ren, int width, int height, int r, int count)
 
Tileset setTileset (int startid, string name, string img, SDL_Renderer *ren, int width, int height, int r, int rcount, int count)
 
Tileset getTileset () const
 Get the Tileset.
 

Detailed Description

The Stage class stores a Map and Tileset.

Definition at line 8 of file stage.h.


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