C# Class Ballz.GameSession.Renderer.DebugRenderer

Inheritance: Microsoft.Xna.Framework.DrawableGameComponent
Mostrar archivo Open project: SpagAachen/Ballz Class Usage Examples

Public Methods

Method Description
DebugRenderer ( Ballz _game ) : Ballz.GameSession.World
Draw ( GameTime gameTime ) : void
DrawRectangle ( Vector2 position, float width, float height, float direction, bool awake ) : void
DrawRope ( Rope rope ) : void
DrawSphere ( Vector2 position, float direction, float radius, bool awake ) : void
DrawTerrain ( ) : void
HandleMessage ( object sender, Messages msg ) : void
Initialize ( ) : void
Update ( GameTime gameTime ) : void
WorldToScreen ( Vector2 Position ) : Vector2
WorldToScreen ( Vector3 Position ) : Vector2

Protected Methods

Method Description
LoadContent ( ) : void
OnEnabledChanged ( object sender, EventArgs args ) : void
UnloadContent ( ) : void

Private Methods

Method Description
UpdateTerrain ( ) : void

Method Details

DebugRenderer() public method

public DebugRenderer ( Ballz _game ) : Ballz.GameSession.World
_game Ballz
return Ballz.GameSession.World

Draw() public method

public Draw ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
return void

DrawRectangle() public method

public DrawRectangle ( Vector2 position, float width, float height, float direction, bool awake ) : void
position Vector2
width float
height float
direction float
awake bool
return void

DrawRope() public method

public DrawRope ( Rope rope ) : void
rope Ballz.GameSession.World.Rope
return void

DrawSphere() public method

public DrawSphere ( Vector2 position, float direction, float radius, bool awake ) : void
position Vector2
direction float
radius float
awake bool
return void

DrawTerrain() public method

public DrawTerrain ( ) : void
return void

HandleMessage() public method

public HandleMessage ( object sender, Messages msg ) : void
sender object
msg Messages
return void

Initialize() public method

public Initialize ( ) : void
return void

LoadContent() protected method

protected LoadContent ( ) : void
return void

OnEnabledChanged() protected method

protected OnEnabledChanged ( object sender, EventArgs args ) : void
sender object
args System.EventArgs
return void

UnloadContent() protected method

protected UnloadContent ( ) : void
return void

Update() public method

public Update ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
return void

WorldToScreen() public method

public WorldToScreen ( Vector2 Position ) : Vector2
Position Vector2
return Vector2

WorldToScreen() public method

public WorldToScreen ( Vector3 Position ) : Vector2
Position Vector3
return Vector2