C# Class SpaceBattle.Menu

显示文件 Open project: luqui/space-shooter Class Usage Examples

Public Methods

Method Description
Draw ( SpriteBatch sb, Rectangle rectViewport ) : void
Menu ( SpriteFont font ) : System
Update ( GamePadState rgState ) : void

Method Details

Draw() public method

public Draw ( SpriteBatch sb, Rectangle rectViewport ) : void
sb Microsoft.Xna.Framework.Graphics.SpriteBatch
rectViewport Microsoft.Xna.Framework.Rectangle
return void

Menu() public method

public Menu ( SpriteFont font ) : System
font Microsoft.Xna.Framework.Graphics.SpriteFont
return System

Update() public method

public Update ( GamePadState rgState ) : void
rgState Microsoft.Xna.Framework.Input.GamePadState
return void