C# Класс Asteroids.Classes.HUD

Показать файл Открыть проект Примеры использования класса

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

Метод Описание
Draw ( SpriteBatch spriteBatch, int playerLife ) : void
GetScore ( ) : int
HUD ( ) : System
HUD ( GraphicsDeviceManager graphics ) : System
HUD ( int screenWidth, int screenHeight ) : System
HUD ( int screenWidth, int screenHeight, Classes shield ) : System
Load ( Microsoft.Xna.Framework.Content.ContentManager content ) : void
SetLevel ( int level ) : void
SetScore ( int score ) : void
Update ( GameTime gameTime ) : void

Описание методов

Draw() публичный Метод

public Draw ( SpriteBatch spriteBatch, int playerLife ) : void
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
playerLife int
Результат void

GetScore() публичный Метод

public GetScore ( ) : int
Результат int

HUD() публичный Метод

public HUD ( ) : System
Результат System

HUD() публичный Метод

public HUD ( GraphicsDeviceManager graphics ) : System
graphics GraphicsDeviceManager
Результат System

HUD() публичный Метод

public HUD ( int screenWidth, int screenHeight ) : System
screenWidth int
screenHeight int
Результат System

HUD() публичный Метод

public HUD ( int screenWidth, int screenHeight, Classes shield ) : System
screenWidth int
screenHeight int
shield Classes
Результат System

Load() публичный Метод

public Load ( Microsoft.Xna.Framework.Content.ContentManager content ) : void
content Microsoft.Xna.Framework.Content.ContentManager
Результат void

SetLevel() публичный Метод

public SetLevel ( int level ) : void
level int
Результат void

SetScore() публичный Метод

public SetScore ( int score ) : void
score int
Результат void

Update() публичный Метод

public Update ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
Результат void