CrystalSpace

Public API Reference

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

csProcWater Class Reference

Plasma. More...

#include <prwater.h>

Inheritance diagram for csProcWater:

csProcTexture csObject iObject iBase List of all members.

Public Methods

 csProcWater ()
 Create a new texture. More...

virtual bool PrepareAnim ()
 Prepare the animation for use. More...

virtual void Animate (csTicks current_time)
 Draw the next frame. More...

void MakePuddle (int sx, int sy, int rad, int val)
 Make a puddle in the water (as if a raindrop) center, radius, strength. More...

void PressAt (int sx, int sy, int rad, int val)
 Press down at x,y,radius, strength. More...


Detailed Description

Plasma.

Definition at line 29 of file prwater.h.


Constructor & Destructor Documentation

csProcWater::csProcWater  
 

Create a new texture.


Member Function Documentation

virtual void csProcWater::Animate csTicks    current_time [virtual]
 

Draw the next frame.

Implements csProcTexture.

void csProcWater::MakePuddle int    sx,
int    sy,
int    rad,
int    val
 

Make a puddle in the water (as if a raindrop) center, radius, strength.

virtual bool csProcWater::PrepareAnim   [virtual]
 

Prepare the animation for use.

This needs to be done after the texture has been prepared.

Reimplemented from csProcTexture.

void csProcWater::PressAt int    sx,
int    sy,
int    rad,
int    val
 

Press down at x,y,radius, strength.


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