Developer Documentation
Centre for Vision, Speech & Signal Processing
USER IN NAMESPACE AMMA TREE ROOT AMMA SEARCH AMMA HOME
 

  PUBLIC
WorldC::WorldC(void)
WorldC::WorldC(StringC)
WorldC::Object(const VLSymbC &)
WorldC::Portal(const VLSymbC &)
WorldC::Room(const StringC &)
WorldC::RoomNode(const RoomC &)
WorldC::AddPlayer(StringC,const RoomC &)
WorldC::Goal(void) const
RCHandleC::IsValid(void) const
RCHandleC::IsValidObject(void) const
RCHandleC::operator=(const RCHandleC &)
RCHandleC::operator==(const RCHandleC &) const
RCHandleC::operator!=(const RCHandleC &) const
RCHandleC::Hash(void) const
RCHandleC::IsConst(void) const
RCHandleC::IsNotConst(void) const
RCHandleC::SetConst(void) const
RCHandleC::Invalidate(void)
RCHandleC::Body(void)
RCHandleC::Body(void) const
WorldC
 
World body
 
include "amma/Logic2/DarkCastle.hh"
User Level:Default
Library:VLWorld
Example:exIndex.cc
Section:Logic.World
In Scope:DarkCastle

Parent Classes:

Methods:
WorldC()
Default constructor.
indIndex of types of intererest.
Creates an invalid handle.

WorldC(StringC name)
Constructor.
indIndex of types of intererest.

ObjectC Object(const VLSymbC & x)
Find object.
indIndex of types of intererest.
Will return an invalid object if not found.

PortalC Portal(const VLSymbC & x)
Find portal.
indIndex of types of intererest.
Will return an invalid portal if not found.

RoomC Room(const StringC & roomNm)
Get room by name.
indIndex of types of intererest.
(SLOW).

GraphNodeHC<RoomC,PortalC> RoomNode(const RoomC & at)
Get room node.
indIndex of types of intererest.

PlayerC AddPlayer(StringC name,const RoomC & where)
Add a new player to the world.
indIndex of types of intererest.
returns a handle to the player.

const VLSymbC & Goal() const
Get goal for world.
indIndex of types of intererest.

#include "amma/RCHandle.hh"
BooleanT IsValid() const
Check its a valid handle.

BooleanT IsValidObject() const
Check its a valid handle, and that the object is pointed to is also valid.

RCHandleC<WorldBodyC> & operator=(const RCHandleC<WorldBodyC> & oth)
Assignment.

BooleanT operator==(const RCHandleC<WorldBodyC> & oth) const
Comparison operator.

BooleanT operator!=(const RCHandleC<WorldBodyC> & oth) const
Comparison operator.

UIntT Hash() const
Hash function.x

BooleanT IsConst() const
Is object constant ?

BooleanT IsNotConst() const
Is object not constant ?

void SetConst(void) const
Lock the object.
This is const as a convience though it actual modified the object, often object you wish to ensure are constant already have const set. protected:

void Invalidate()
Turn this into an invalid handle.

WorldBodyC & Body()
Direct access to body.

const WorldBodyC & Body() const
Constant access to body.


Programmer:Charles Galambos, Documentation by CxxDoc: Tue Mar 20 10:49:27 2001