dtDAL::IEnvironmentActor Class Reference

Interface class to an "environment actor". More...

#include <environmentactor.h>

Inheritance diagram for dtDAL::IEnvironmentActor:

dtGame::IEnvGameActor dtActors::BasicEnvironmentActor dtActors::EnvActor

List of all members.

Public Member Functions

 IEnvironmentActor ()
 Constructor.
virtual ~IEnvironmentActor ()
 Destructor.
virtual void AddActor (dtCore::DeltaDrawable &dd)=0
 Adds a DeltaDrawable to the internal hierarchy of the environment.
virtual void RemoveActor (dtCore::DeltaDrawable &dd)=0
 Removes a DeltaDrawable from the internal hierarchy.
virtual void RemoveAllActors ()=0
 Removes all actors associated with this environment.
virtual bool ContainsActor (dtCore::DeltaDrawable &dd) const =0
 Called to see if this environment has the specified proxy.
virtual void GetAllActors (std::vector< dtCore::DeltaDrawable * > &vec)=0
 Gets all the actors associated with this environment.
virtual unsigned int GetNumEnvironmentChildren () const =0
 Gets the number of children of this environment.


Detailed Description

Interface class to an "environment actor".

Constructor & Destructor Documentation

dtDAL::IEnvironmentActor::IEnvironmentActor (  ) 

Constructor.

dtDAL::IEnvironmentActor::~IEnvironmentActor (  )  [virtual]

Destructor.


Member Function Documentation

virtual void dtDAL::IEnvironmentActor::AddActor ( dtCore::DeltaDrawable dd  )  [pure virtual]

Adds a DeltaDrawable to the internal hierarchy of the environment.

Parameters:
dd The DeltaDrawable to add as a child

Implemented in dtActors::BasicEnvironmentActor, and dtActors::EnvActor.

virtual void dtDAL::IEnvironmentActor::RemoveActor ( dtCore::DeltaDrawable dd  )  [pure virtual]

Removes a DeltaDrawable from the internal hierarchy.

Parameters:
dd The DeltaDrawable to remove

Implemented in dtActors::BasicEnvironmentActor, and dtActors::EnvActor.

virtual void dtDAL::IEnvironmentActor::RemoveAllActors (  )  [pure virtual]

Removes all actors associated with this environment.

Implemented in dtActors::BasicEnvironmentActor, and dtActors::EnvActor.

virtual bool dtDAL::IEnvironmentActor::ContainsActor ( dtCore::DeltaDrawable dd  )  const [pure virtual]

Called to see if this environment has the specified proxy.

Parameters:
proxy The proxy to look for
Returns:
True if it contains it, false if not

Implemented in dtActors::BasicEnvironmentActor, and dtActors::EnvActor.

virtual void dtDAL::IEnvironmentActor::GetAllActors ( std::vector< dtCore::DeltaDrawable * > &  vec  )  [pure virtual]

Gets all the actors associated with this environment.

Parameters:
vec The vector to fill

Implemented in dtActors::BasicEnvironmentActor, and dtActors::EnvActor.

virtual unsigned int dtDAL::IEnvironmentActor::GetNumEnvironmentChildren (  )  const [pure virtual]

Gets the number of children of this environment.

Implemented in dtActors::BasicEnvironmentActor, and dtActors::EnvActor.


http://www.delta3d.org
2.0.0 generated 14 Feb 2008