C# Class ProjectCow.Background

Datei anzeigen Open project: csce3513/Team12 Class Usage Examples

Public Properties

Property Type Description
Position Vector2

Public Methods

Method Description
Background ( ) : System
Draw ( SpriteBatch theSpriteBatch ) : void
LoadContent ( Microsoft.Xna.Framework.Content.ContentManager theContentManager ) : void
LoadNextBackground ( ) : void
LoadPreviousBackground ( ) : void
getBackgroundImage ( ) : string

Method Details

Background() public method

public Background ( ) : System
return System

Draw() public method

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

LoadContent() public method

public LoadContent ( Microsoft.Xna.Framework.Content.ContentManager theContentManager ) : void
theContentManager Microsoft.Xna.Framework.Content.ContentManager
return void

LoadNextBackground() public method

public LoadNextBackground ( ) : void
return void

LoadPreviousBackground() public method

public LoadPreviousBackground ( ) : void
return void

getBackgroundImage() public method

public getBackgroundImage ( ) : string
return string

Property Details

Position public_oe property

public Vector2 Position
return Vector2