Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members   Related Pages  

SubWorld Class Reference

#include <subworld.h>

List of all members.

Public Methods

 SubWorld (Graphics &)
 ~SubWorld ()
BackgroundGetBackground () const
void SubWorldToScreen (float &x, float &y)
void ScreenToSubWorld (float &x, float &y)

Private Attributes

Backgroundbackground
GraphicsGD


Constructor & Destructor Documentation

SubWorld::SubWorld Graphics  
 

Definition at line 5 of file subworld.cpp.

References background, DATAFILE, and GD.

SubWorld::~SubWorld  
 

Definition at line 10 of file subworld.cpp.

References background.


Member Function Documentation

Background& SubWorld::GetBackground   const [inline]
 

Definition at line 15 of file subworld.h.

References background.

Referenced by Game::Game(), Game::GameLoop(), GameObject::Recenter(), MainChar::Recenter(), and Game::RenderScreen().

void SubWorld::ScreenToSubWorld float &    x,
float &    y
 

Definition at line 16 of file subworld.cpp.

References background, Background::GetX(), and Background::GetY().

Referenced by MainChar::FireWeapon(), and GameObject::GetBoundingRect().

void SubWorld::SubWorldToScreen float &    x,
float &    y
 

Definition at line 22 of file subworld.cpp.

References background, Background::GetX(), and Background::GetY().

Referenced by Bear::think().


Member Data Documentation

Background* SubWorld::background [private]
 

Definition at line 20 of file subworld.h.

Referenced by GetBackground(), ScreenToSubWorld(), SubWorld(), SubWorldToScreen(), and ~SubWorld().

Graphics& SubWorld::GD [private]
 

Definition at line 21 of file subworld.h.

Referenced by SubWorld().


The documentation for this class was generated from the following files:
Generated on Sun Dec 8 12:02:22 2002 for nnc by doxygen1.3-rc1