![]() |
Public API Reference |
#include <prwater.h>
Inheritance diagram for csProcWater:
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... |
Definition at line 29 of file prwater.h.
|
Create a new texture.
|
|
Draw the next frame.
Implements csProcTexture. |
|
Make a puddle in the water (as if a raindrop) center, radius, strength.
|
|
Prepare the animation for use. This needs to be done after the texture has been prepared. Reimplemented from csProcTexture. |
|
Press down at x,y,radius, strength.
|