Pyrogenesis  13997
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | List of all members
ICmpWaterManager Class Referenceabstract

#include <ICmpWaterManager.h>

Inheritance diagram for ICmpWaterManager:
IComponent CCmpWaterManager

Public Member Functions

virtual void SetWaterLevel (entity_pos_t h)=0
 Set the height of the water level, as a constant value across the whole map. More...
 
virtual entity_pos_t GetWaterLevel (entity_pos_t x, entity_pos_t z)=0
 Get the current water level at the given point. More...
 
virtual float GetExactWaterLevel (float x, float z)=0
 Get the current water level at the given point. More...
 
- Public Member Functions inherited from IComponent
virtual ~IComponent ()
 
virtual void Init (const CParamNode &paramNode)=0
 
virtual void Deinit ()=0
 
virtual void HandleMessage (const CMessage &msg, bool global)
 
CEntityHandle GetEntityHandle () const
 
void SetEntityHandle (CEntityHandle ent)
 
entity_id_t GetEntityId () const
 
CEntityHandle GetSystemEntity () const
 
const CSimContextGetSimContext () const
 
void SetSimContext (const CSimContext &context)
 
virtual void Serialize (ISerializer &serialize)=0
 
virtual void Deserialize (const CParamNode &paramNode, IDeserializer &deserialize)=0
 
virtual JSClass * GetJSClass () const
 
virtual jsval GetJSInstance () const
 

Additional Inherited Members

- Static Public Member Functions inherited from IComponent
static std::string GetSchema ()
 
static u8 GetSerializationVersion ()
 

Detailed Description

Definition at line 25 of file ICmpWaterManager.h.

Member Function Documentation

virtual float ICmpWaterManager::GetExactWaterLevel ( float  x,
float  z 
)
pure virtual

Get the current water level at the given point.

Implemented in CCmpWaterManager.

virtual entity_pos_t ICmpWaterManager::GetWaterLevel ( entity_pos_t  x,
entity_pos_t  z 
)
pure virtual

Get the current water level at the given point.

Implemented in CCmpWaterManager.

virtual void ICmpWaterManager::SetWaterLevel ( entity_pos_t  h)
pure virtual

Set the height of the water level, as a constant value across the whole map.

Implemented in CCmpWaterManager.


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