Platformer
Platformer
Public Attributes | List of all members
LevelObject Class Reference

Represents an object within a level. More...

Collaboration diagram for LevelObject:
Collaboration graph

Public Attributes

std::string name
 The name of this level object. More...
 
int x
 The x coordinate of this level object. More...
 
int y
 The y coordinate of this level object. More...
 
int w
 The width of this level object. More...
 
int h
 The height of this level object. More...
 
bool permanent
 Whether or not this object is permanent.
 
std::string scriptName
 The name of the script attached to this level object. More...
 
std::string className
 The class of the script attached to this level object. More...
 
std::string spriteName
 The sprite attached to this level object. More...
 

Detailed Description

Represents an object within a level.

Member Data Documentation

◆ className

std::string LevelObject::className

The class of the script attached to this level object.

◆ h

int LevelObject::h

The height of this level object.

◆ name

std::string LevelObject::name

The name of this level object.

◆ scriptName

std::string LevelObject::scriptName

The name of the script attached to this level object.

◆ spriteName

std::string LevelObject::spriteName

The sprite attached to this level object.

◆ w

int LevelObject::w

The width of this level object.

◆ x

int LevelObject::x

The x coordinate of this level object.

◆ y

int LevelObject::y

The y coordinate of this level object.


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