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

Render system performs all rendering of the Game and is inteded as a module.
상속: Microsoft.Xna.Framework.DrawableGameComponent
파일 보기 프로젝트 열기: SpagAachen/Ballz 1 사용 예제들

공개 메소드들

메소드 설명
Draw ( GameTime time ) : void

Draw the game for the specified _time.

DrawBall ( Ball ball ) : void
DrawGraphicsEvent ( GraphicsEvent graphicsEvent ) : void
DrawRope ( Rope rope ) : void
DrawShot ( Shot shot ) : void
DrawStatusOverlay ( ) : void
GameRenderer ( Ballz game ) : Ballz.GameSession.World
HandleMessage ( object sender, Message message ) : void
PostProcess ( ) : void

보호된 메소드들

메소드 설명
LoadContent ( ) : void

비공개 메소드들

메소드 설명
GetChargeColor ( float charge ) : Vector4

Returns a nice color between red and green for given inputs from [0..1].

메소드 상세

Draw() 공개 메소드

Draw the game for the specified _time.
public Draw ( GameTime time ) : void
time Microsoft.Xna.Framework.GameTime time since start of game (cf BallzGame draw).
리턴 void

DrawBall() 공개 메소드

public DrawBall ( Ball ball ) : void
ball Ballz.GameSession.World.Ball
리턴 void

DrawGraphicsEvent() 공개 메소드

public DrawGraphicsEvent ( GraphicsEvent graphicsEvent ) : void
graphicsEvent GraphicsEvent
리턴 void

DrawRope() 공개 메소드

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

DrawShot() 공개 메소드

public DrawShot ( Shot shot ) : void
shot Ballz.GameSession.World.Shot
리턴 void

DrawStatusOverlay() 공개 메소드

public DrawStatusOverlay ( ) : void
리턴 void

GameRenderer() 공개 메소드

public GameRenderer ( Ballz game ) : Ballz.GameSession.World
game Ballz
리턴 Ballz.GameSession.World

HandleMessage() 공개 메소드

public HandleMessage ( object sender, Message message ) : void
sender object
message Ballz.Messages.Message
리턴 void

LoadContent() 보호된 메소드

protected LoadContent ( ) : void
리턴 void

PostProcess() 공개 메소드

public PostProcess ( ) : void
리턴 void