CrystalSpace

Public API Reference

Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

csMapNode Class Reference

A node. More...

#include <mapnode.h>

Inheritance diagram for csMapNode:

csObject iObject iBase List of all members.

Public Methods

 csMapNode (const char *Name)
 The constructor. Requires the Nodes name! More...

virtual ~csMapNode ()
 The destructor as usual. More...

void SetPosition (const csVector3 &pos)
 Set the position of the node. More...

const csVector3GetPosition () const
 Get the position of the node. More...

void SetSector (iSector *pSector)
 Set the sector of the node. More...

iSectorGetSector () const
 Get the sector of the node. More...


Static Public Methods

iMapNodeGetNode (iSector *pSector, const char *name, const char *classname=NULL)
 Get a node with the given name and a given classname. (shortcut). More...


Public Attributes

csMapNode::MapNode scfiMapNode
 iMapNode implementation. More...


Detailed Description

A node.

This is an iObject that is bound to a position and a sector in the world.

Definition at line 31 of file cstool/mapnode.h.


Constructor & Destructor Documentation

csMapNode::csMapNode const char *    Name
 

The constructor. Requires the Nodes name!

virtual csMapNode::~csMapNode   [virtual]
 

The destructor as usual.


Member Function Documentation

iMapNode* csMapNode::GetNode iSector   pSector,
const char *    name,
const char *    classname = NULL
[static]
 

Get a node with the given name and a given classname. (shortcut).

const csVector3& csMapNode::GetPosition   const
 

Get the position of the node.

iSector* csMapNode::GetSector   const
 

Get the sector of the node.

void csMapNode::SetPosition const csVector3   pos
 

Set the position of the node.

void csMapNode::SetSector iSector   pSector
 

Set the sector of the node.


Member Data Documentation

csMapNode::MapNode csMapNode::scfiMapNode
 

iMapNode implementation.


The documentation for this class was generated from the following file:
Generated for Crystal Space by doxygen 1.2.14