![]() |
Resonance Game
Team Walterio Fuchsbauer
|
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 |
Resonance.DisplacementMap.DisplacementMap | ( | GraphicsDevice | nGraphics, |
int | nWidth, | ||
int | nHeight | ||
) |
void Resonance.DisplacementMap.addHole | ( | float | x, |
float | y | ||
) |
void Resonance.DisplacementMap.addWave | ( | Vector2 | position | ) |
void Resonance.DisplacementMap.createMap | ( | ) |
Texture2D Resonance.DisplacementMap.getMap | ( | ) |
List<Texture2D> Resonance.DisplacementMap.getTextures | ( | ) |
void Resonance.DisplacementMap.reset | ( | ) |
Reset the displacement map so everything is flat.
void Resonance.DisplacementMap.update | ( | Vector2 | position | ) |
const float Resonance.DisplacementMap.WAVE_HEIGHT = 1f |
const float Resonance.DisplacementMap.WAVE_SPEED = 0.4f |
const float Resonance.DisplacementMap.WAVE_WIDTH = 1f |