C# Class Asteroids.Background

Mostra file Open project: Timvangool/AsteroidsAPO2 Class Usage Examples

Public Methods

Method Description
Background ( GraphicsDevice graphicsDevice, Microsoft.Xna.Framework.Content.ContentManager content ) : System
Draw ( SpriteBatch spriteBatch ) : void
LoadPlanets ( ) : void
LoadStars ( ) : void

Method Details

Background() public method

public Background ( GraphicsDevice graphicsDevice, Microsoft.Xna.Framework.Content.ContentManager content ) : System
graphicsDevice GraphicsDevice
content Microsoft.Xna.Framework.Content.ContentManager
return System

Draw() public method

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

LoadPlanets() public method

public LoadPlanets ( ) : void
return void

LoadStars() public method

public LoadStars ( ) : void
return void