C# Class KBMENUTESTFULLCAPS.Star

Show file Open project: Timvangool/AsteroidsAPO2 Class Usage Examples

Public Methods

Method Description
Draw ( SpriteBatch spriteBatch, Color color ) : void
LoadTexture ( Microsoft.Xna.Framework.Content.ContentManager content ) : void
SetRandomLocation ( ) : void
Star ( GraphicsDevice graphicsManager, Microsoft.Xna.Framework.Content.ContentManager content, Random rnd ) : System

Method Details

Draw() public method

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

LoadTexture() public method

public LoadTexture ( Microsoft.Xna.Framework.Content.ContentManager content ) : void
content Microsoft.Xna.Framework.Content.ContentManager
return void

SetRandomLocation() public method

public SetRandomLocation ( ) : void
return void

Star() public method

public Star ( GraphicsDevice graphicsManager, Microsoft.Xna.Framework.Content.ContentManager content, Random rnd ) : System
graphicsManager GraphicsDevice
content Microsoft.Xna.Framework.Content.ContentManager
rnd System.Random
return System