C# Класс MrGravity.Menu_Code.SoundOptions

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

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

Метод Описание
Draw ( GameTime gametime, SpriteBatch spriteBatch, Matrix scale ) : void

Draws the controller screen

GetRegion ( MenuChoices choice, Microsoft.Xna.Framework.Graphics.Texture2D texture ) : Rectangle
Load ( Microsoft.Xna.Framework.Content.ContentManager content ) : void

Loads images needed for this screen

SoundOptions ( IControlScheme controlScheme, GraphicsDeviceManager graphics ) : System

Constructor for SoundOptions screen

Update ( GameTime gametime, GameStates &states ) : void

Update process of this screen. Responds to player input to go back to the options screen.

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

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

Draws the controller screen
public Draw ( GameTime gametime, SpriteBatch spriteBatch, Matrix scale ) : void
gametime Microsoft.Xna.Framework.GameTime Current gametime
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch Canvas the screen is drawing on
scale Matrix scale factor
Результат void

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

public GetRegion ( MenuChoices choice, Microsoft.Xna.Framework.Graphics.Texture2D texture ) : Rectangle
choice MenuChoices
texture Microsoft.Xna.Framework.Graphics.Texture2D
Результат Microsoft.Xna.Framework.Rectangle

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

Loads images needed for this screen
public Load ( Microsoft.Xna.Framework.Content.ContentManager content ) : void
content Microsoft.Xna.Framework.Content.ContentManager Content manager used for this game
Результат void

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

Constructor for SoundOptions screen
public SoundOptions ( IControlScheme controlScheme, GraphicsDeviceManager graphics ) : System
controlScheme IControlScheme Players method of control
graphics GraphicsDeviceManager Graphics manager for the game
Результат System

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

Update process of this screen. Responds to player input to go back to the options screen.
public Update ( GameTime gametime, GameStates &states ) : void
gametime Microsoft.Xna.Framework.GameTime Current gameTime
states GameStates Current state of the game
Результат void