Back to bsyte

SkyBox Class Reference

SkyBox Klasse. More...

#include <SkyBox.h>

Collaboration diagram for SkyBox:

List of all members.

Public Types

enum  SKYBOX_SIDES {
  TILE_LEFT = 0, TILE_FRONT = 1, TILE_DOWN = 2, TILE_TOP = 3,
  TILE_RIGHT = 4, TILE_BACK = 5
}

Public Member Functions

virtual ~SkyBox ()
 Destruktor.
void setLeft (int textureID)
void setFront (int textureID)
void setDown (int textureID)
void setTop (int textureID)
void setRight (int textureID)
void setBack (int textureID)
void load (DataInputStream &dataIn)
 Liest das SkyBox-Objekt aus dem Inputstream.
void save (DataOutputStream &dataOut)
 Serialisiert das SkyBox-Objekt in den Outputstream.

Static Public Member Functions

static SkyBoxgetInstance ()
 Liefert die Singleton-Instanz.

Public Attributes

Tilem_tiles [6]

Static Public Attributes

static int const TILE_COUNT

Protected Member Functions

 SkyBox ()
 Konstruktor.

Static Private Attributes

static SkyBox_instance = 0

Detailed Description

SkyBox Klasse.


Member Enumeration Documentation

Enumerator:
TILE_LEFT 
TILE_FRONT 
TILE_DOWN 
TILE_TOP 
TILE_RIGHT 
TILE_BACK 

Constructor & Destructor Documentation

SkyBox::SkyBox ( ) [protected]

Konstruktor.

Here is the caller graph for this function:

SkyBox::~SkyBox ( ) [virtual]

Destruktor.


Member Function Documentation

SkyBox * SkyBox::getInstance ( ) [static]

Liefert die Singleton-Instanz.

Returns:
Pointer auf die Instanz

Here is the call graph for this function:

Here is the caller graph for this function:

void SkyBox::load ( DataInputStream dataIn)

Liest das SkyBox-Objekt aus dem Inputstream.

Parameters:
dataInDataInputStream

Here is the call graph for this function:

Here is the caller graph for this function:

void SkyBox::save ( DataOutputStream dataOut)

Serialisiert das SkyBox-Objekt in den Outputstream.

Parameters:
dataOutDataOutputStream
Exceptions:
IOException

Here is the call graph for this function:

Here is the caller graph for this function:

void SkyBox::setBack ( int  textureID)
void SkyBox::setDown ( int  textureID)
void SkyBox::setFront ( int  textureID)
void SkyBox::setLeft ( int  textureID)
void SkyBox::setRight ( int  textureID)
void SkyBox::setTop ( int  textureID)

Member Data Documentation

SkyBox * SkyBox::_instance = 0 [static, private]
int const SkyBox::TILE_COUNT [static]

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