Resonance Game
Team Walterio Fuchsbauer
 All Classes Namespaces Files Functions Variables Enumerations Properties
Resonance.DisplacementMap Class Reference

List of all members.

Public Member Functions

void reset ()
 Reset the displacement map so everything is flat.
 DisplacementMap (GraphicsDevice nGraphics, int nWidth, int nHeight)
void addHole (float x, float y)
void addWave (Vector2 position)
Texture2D getMap ()
List< Texture2D > getTextures ()
void createMap ()
void update (Vector2 position)

Public Attributes

const float WAVE_HEIGHT = 1f
const float WAVE_WIDTH = 1f
const float WAVE_SPEED = 0.4f

Constructor & Destructor Documentation

Resonance.DisplacementMap.DisplacementMap ( GraphicsDevice  nGraphics,
int  nWidth,
int  nHeight 
)

Member Function Documentation

void Resonance.DisplacementMap.addHole ( float  x,
float  y 
)

Here is the caller graph for this function:

void Resonance.DisplacementMap.addWave ( Vector2  position)

Here is the caller graph for this function:

Here is the call graph for this function:

Here is the caller graph for this function:

Reset the displacement map so everything is flat.

Here is the caller graph for this function:

void Resonance.DisplacementMap.update ( Vector2  position)

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation


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