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

List of all members.

Public Member Functions

 Graphics (ContentManager newContent, GraphicsDeviceManager newGraphics)
void init2dTextures ()
void loadContent (ContentManager content, GraphicsDevice graphicsDevice)
 LoadContent will be called once per game and is the place to load all of your content needed for drawing the world.
void addWave (Vector2 position)
void reset ()
void Draw (Object worldObject, Matrix worldTransform, bool disp, bool drawingReflection, bool drawingShadows)
void update (Vector2 playerPos)
void drawParticle (Texture2D texture, Matrix world, float width, float height, Color colour)
void drawTexture (Texture2D texture, Matrix world, float width, float height, bool drawingReflection)

Static Public Attributes

static int DISP_WIDTH = 128

Properties

DisplacementMap DispMap [get]
Shaders Shaders [get]
Matrix Projection [get]
Shaders CustomShaders [get]

Constructor & Destructor Documentation

Resonance.Graphics.Graphics ( ContentManager  newContent,
GraphicsDeviceManager  newGraphics 
)

Member Function Documentation

void Resonance.Graphics.addWave ( Vector2  position)

Here is the call graph for this function:

Here is the caller graph for this function:

void Resonance.Graphics.Draw ( Object  worldObject,
Matrix  worldTransform,
bool  disp,
bool  drawingReflection,
bool  drawingShadows 
)

Here is the caller graph for this function:

void Resonance.Graphics.drawParticle ( Texture2D  texture,
Matrix  world,
float  width,
float  height,
Color  colour 
)
void Resonance.Graphics.drawTexture ( Texture2D  texture,
Matrix  world,
float  width,
float  height,
bool  drawingReflection 
)

Here is the caller graph for this function:

Here is the caller graph for this function:

void Resonance.Graphics.loadContent ( ContentManager  content,
GraphicsDevice  graphicsDevice 
)

LoadContent will be called once per game and is the place to load all of your content needed for drawing the world.

Here is the call graph for this function:

Here is the caller graph for this function:

Here is the call graph for this function:

Here is the caller graph for this function:

void Resonance.Graphics.update ( Vector2  playerPos)

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

int Resonance.Graphics.DISP_WIDTH = 128 [static]

Property Documentation


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