C# 클래스 Ballz.GameSession.Renderer.DebugRenderer

상속: Microsoft.Xna.Framework.DrawableGameComponent
파일 보기 프로젝트 열기: SpagAachen/Ballz 1 사용 예제들

공개 메소드들

메소드 설명
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

보호된 메소드들

메소드 설명
LoadContent ( ) : void
OnEnabledChanged ( object sender, EventArgs args ) : void
UnloadContent ( ) : void

비공개 메소드들

메소드 설명
UpdateTerrain ( ) : void

메소드 상세

DebugRenderer() 공개 메소드

public DebugRenderer ( Ballz _game ) : Ballz.GameSession.World
_game Ballz
리턴 Ballz.GameSession.World

Draw() 공개 메소드

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

DrawRectangle() 공개 메소드

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

DrawRope() 공개 메소드

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

DrawSphere() 공개 메소드

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

DrawTerrain() 공개 메소드

public DrawTerrain ( ) : void
리턴 void

HandleMessage() 공개 메소드

public HandleMessage ( object sender, Messages msg ) : void
sender object
msg Messages
리턴 void

Initialize() 공개 메소드

public Initialize ( ) : void
리턴 void

LoadContent() 보호된 메소드

protected LoadContent ( ) : void
리턴 void

OnEnabledChanged() 보호된 메소드

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

UnloadContent() 보호된 메소드

protected UnloadContent ( ) : void
리턴 void

Update() 공개 메소드

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

WorldToScreen() 공개 메소드

public WorldToScreen ( Vector2 Position ) : Vector2
Position Vector2
리턴 Vector2

WorldToScreen() 공개 메소드

public WorldToScreen ( Vector3 Position ) : Vector2
Position Vector3
리턴 Vector2