ScummVM API documentation
Titanic::CGameView Class Referenceabstract
Inheritance diagram for Titanic::CGameView:
Titanic::CSTGameView

Public Member Functions

void setGameManager (CGameManager *gameManager)
 
void postLoad ()
 
virtual void deleteView (int roomNumber, int nodeNumber, int viewNumber)
 
virtual void setView (CViewItem *item)=0
 
virtual void draw (const Rect &bounds)=0
 
void createSurface (const CResourceKey &key)
 
void drawView ()
 

Public Attributes

CVideoSurface_surface
 

Protected Attributes

CGameManager_gameManager
 

Member Function Documentation

◆ setGameManager()

void Titanic::CGameView::setGameManager ( CGameManager gameManager)

Set the game manager

◆ postLoad()

void Titanic::CGameView::postLoad ( )

Called after loading a game has finished

◆ setView()

virtual void Titanic::CGameView::setView ( CViewItem item)
pure virtual

Set the currently active view

Implemented in Titanic::CSTGameView.

◆ createSurface()

void Titanic::CGameView::createSurface ( const CResourceKey key)

Creates a surface from a specified resource

◆ drawView()

void Titanic::CGameView::drawView ( )

Draws the background of a view


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