C# Класс MyGame.FrameRateCounter

This class represent the Framw rate counter that evaluates and draws the frame per sec on screen
Наследование: Microsoft.Xna.Framework.DrawableGameComponent
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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