CrystalSpace

Public API Reference

CS::Collisions::iActorFactory Struct Reference

Common abstract interface for factories of iActor objects. More...

#include <ivaria/collisions.h>

Inheritance diagram for CS::Collisions::iActorFactory:

List of all members.

Public Member Functions

virtual csPtr< iActorCreateActor ()=0
 Create an instance.
virtual float GetAirControlFactor () const =0
 Determines how much the actor can control movement when free falling (1 = completely, 0 = not at all).
virtual float GetJumpSpeed () const =0
 Get the jump speed.
virtual float GetStepHeight () const =0
 Get the max vertical threshold that this actor can step over.
virtual float GetWalkSpeed () const =0
 Get the walk speed.
virtual void SetAirControlFactor (float f)=0
 Determines how much the actor can control movement when free falling (1 = completely, 0 = not at all).
virtual void SetJumpSpeed (float s)=0
 Set the jump speed.
virtual void SetStepHeight (float h)=0
 Set the max vertical threshold that this actor can step over.
virtual void SetWalkSpeed (float s)=0
 Set the walk speed.

Detailed Description

Common abstract interface for factories of iActor objects.

Main ways to create instances implementing this interface:

Definition at line 413 of file collisions.h.


Member Function Documentation

virtual csPtr<iActor> CS::Collisions::iActorFactory::CreateActor (  )  [pure virtual]

Create an instance.

virtual float CS::Collisions::iActorFactory::GetAirControlFactor (  )  const [pure virtual]

Determines how much the actor can control movement when free falling (1 = completely, 0 = not at all).

virtual float CS::Collisions::iActorFactory::GetJumpSpeed (  )  const [pure virtual]

Get the jump speed.

virtual float CS::Collisions::iActorFactory::GetStepHeight (  )  const [pure virtual]

Get the max vertical threshold that this actor can step over.

virtual float CS::Collisions::iActorFactory::GetWalkSpeed (  )  const [pure virtual]

Get the walk speed.

virtual void CS::Collisions::iActorFactory::SetAirControlFactor ( float  f  )  [pure virtual]

Determines how much the actor can control movement when free falling (1 = completely, 0 = not at all).

virtual void CS::Collisions::iActorFactory::SetJumpSpeed ( float  s  )  [pure virtual]

Set the jump speed.

virtual void CS::Collisions::iActorFactory::SetStepHeight ( float  h  )  [pure virtual]

Set the max vertical threshold that this actor can step over.

virtual void CS::Collisions::iActorFactory::SetWalkSpeed ( float  s  )  [pure virtual]

Set the walk speed.


The documentation for this struct was generated from the following file:

Generated for Crystal Space 2.1 by doxygen 1.6.1