CCameraFree Class Reference

Free moving camera. More...

#include <cameraFree.h>

Inheritance diagram for CCameraFree:

CCameraBase

List of all members.

Public Member Functions

 CCameraFree ()
 Default constructor.
 CCameraFree (CXMLNode &node)
 Load data from XML node.
void update (CCameraTarget &target)
 Update the camera.

Static Public Attributes

static const char * m_kStrElm = "CameraFree"
 XML element string.


Detailed Description

Free moving camera.

(c) 2007-2008 oP group Germany GbR. All rights reserved.
This source code is provided "as is" with no warranty and must not be distributed without written permission.

Author:
Doug Poston
Version:
1.3
Date:
12/28/2007

Constructor & Destructor Documentation

CCameraFree::CCameraFree (  )  [inline]

Default constructor.

By default, the free camera uses the arrow keys to move and pan.

CCameraFree::CCameraFree ( CXMLNode &  node  ) 

Load data from XML node.

Create a CCameraFree using data from XML node

Parameters:
node XML node


Member Function Documentation

void CCameraFree::update ( CCameraTarget target  )  [virtual]

Update the camera.

Note:
Call this once a frame.
Parameters:
target Focus of the camera (normally the player).

Reimplemented from CCameraBase.


The documentation for this class was generated from the following files:
Generated on Fri Dec 28 12:55:07 2007 for template7 by  doxygen 1.5.4