xoreos  0.0.5
Public Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
Engines::DragonAge2::Room Class Reference

#include <room.h>

Collaboration diagram for Engines::DragonAge2::Room:
Collaboration graph
[legend]

Public Member Functions

 Room (const Aurora::GFF4Struct &room)
 
 ~Room ()
 
int32 getID () const
 
void show ()
 
void hide ()
 

Private Types

typedef Common::PtrVector< Graphics::Aurora::ModelModels
 

Private Member Functions

void load (const Aurora::GFF4Struct &room)
 
void loadLayout (const Common::UString &roomFile)
 
void clean ()
 

Private Attributes

int32 _id
 
Models _models
 
ChangeList _resources
 

Detailed Description

Definition at line 43 of file room.h.

Member Typedef Documentation

◆ Models

Definition at line 54 of file room.h.

Constructor & Destructor Documentation

◆ Room()

Engines::DragonAge2::Room::Room ( const Aurora::GFF4Struct room)

Definition at line 60 of file room.cpp.

References clean(), and load().

Here is the call graph for this function:

◆ ~Room()

Engines::DragonAge2::Room::~Room ( )

Definition at line 69 of file room.cpp.

References clean(), and hide().

Here is the call graph for this function:

Member Function Documentation

◆ clean()

void Engines::DragonAge2::Room::clean ( )
private

Definition at line 78 of file room.cpp.

References _resources, and Engines::deindexResources().

Referenced by Room(), and ~Room().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getID()

int32 Engines::DragonAge2::Room::getID ( ) const

Definition at line 74 of file room.cpp.

References _id.

◆ hide()

void Engines::DragonAge2::Room::hide ( )

Definition at line 183 of file room.cpp.

References _models.

Referenced by ~Room().

Here is the caller graph for this function:

◆ load()

void Engines::DragonAge2::Room::load ( const Aurora::GFF4Struct room)
private

Referenced by Room().

Here is the caller graph for this function:

◆ loadLayout()

void Engines::DragonAge2::Room::loadLayout ( const Common::UString roomFile)
private

◆ show()

void Engines::DragonAge2::Room::show ( )

Definition at line 178 of file room.cpp.

References _models.

Member Data Documentation

◆ _id

int32 Engines::DragonAge2::Room::_id
private

Definition at line 56 of file room.h.

Referenced by getID(), and loadLayout().

◆ _models

Models Engines::DragonAge2::Room::_models
private

Definition at line 58 of file room.h.

Referenced by hide(), loadLayout(), and show().

◆ _resources

ChangeList Engines::DragonAge2::Room::_resources
private

Definition at line 60 of file room.h.

Referenced by clean().


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