C# Class Starwar.Sprites.BackgroundSprite

Inheritance: Sprite
显示文件 Open project: daxnet/Starwar Class Usage Examples

Public Methods

Method Description
BackgroundSprite ( Microsoft.Xna.Framework.Graphics.Texture2D texture, GraphicsDeviceManager graphics ) : System
Draw ( GameTime gameTime, SpriteBatch spriteBatch ) : void

Method Details

BackgroundSprite() public method

public BackgroundSprite ( Microsoft.Xna.Framework.Graphics.Texture2D texture, GraphicsDeviceManager graphics ) : System
texture Microsoft.Xna.Framework.Graphics.Texture2D
graphics GraphicsDeviceManager
return System

Draw() public method

public Draw ( GameTime gameTime, SpriteBatch spriteBatch ) : void
gameTime Microsoft.Xna.Framework.GameTime
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
return void