C# Class Project_Starfighter.CreditScreen

Inheritance: GameScreen
显示文件 Open project: csce3513/Team15 Class Usage Examples

Public Methods

Method Description
CreditScreen ( Microsoft.Xna.Framework.Game game, SpriteBatch spriteBatch, SpriteFont spriteFont, Microsoft.Xna.Framework.Graphics.Texture2D image ) : System

Main method to create all the components of this game screen. All items are currently selectable but will be converted to non-selectable text.

Draw ( GameTime gameTime ) : void

Method to draw and update the screen

Method Details

CreditScreen() public method

Main method to create all the components of this game screen. All items are currently selectable but will be converted to non-selectable text.
public CreditScreen ( Microsoft.Xna.Framework.Game game, SpriteBatch spriteBatch, SpriteFont spriteFont, Microsoft.Xna.Framework.Graphics.Texture2D image ) : System
game Microsoft.Xna.Framework.Game
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
spriteFont Microsoft.Xna.Framework.Graphics.SpriteFont
image Microsoft.Xna.Framework.Graphics.Texture2D
return System

Draw() public method

Method to draw and update the screen
public Draw ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
return void