C# Class KBMENUTESTFULLCAPS.Planet

Mostrar archivo 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
Planet ( GraphicsDevice graphicsManager, Microsoft.Xna.Framework.Content.ContentManager content, Random rnd ) : System
SetRandomLocation ( ) : void

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

Planet() public method

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

SetRandomLocation() public method

public SetRandomLocation ( ) : void
return void