C# 클래스 MyGame.FrameRateCounter

This class represent the Framw rate counter that evaluates and draws the frame per sec on screen
상속: Microsoft.Xna.Framework.DrawableGameComponent
파일 보기 프로젝트 열기: mahmoudbahaa/XNA-Game-project 1 사용 예제들

공개 메소드들

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

This method renders the current state.

FrameRateCounter ( Game game ) : System
Update ( GameTime gameTime ) : void

Allows the game component to update itself.

보호된 메소드들

메소드 설명
LoadContent ( ) : void

메소드 상세

Draw() 공개 메소드

This method renders the current state.
public Draw ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime The elapsed game time.
리턴 void

FrameRateCounter() 공개 메소드

public FrameRateCounter ( Game game ) : System
game Game
리턴 System

LoadContent() 보호된 메소드

protected LoadContent ( ) : void
리턴 void

Update() 공개 메소드

Allows the game component to update itself.
public Update ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime Provides a snapshot of timing values.
리턴 void