C# Class RaceGame.Map

Inheritance: IMap
Mostrar archivo Open project: cjohnsson/Racing-Game Class Usage Examples

Public Methods

Method Description
DrawBackground ( SpriteBatch spriteBatch ) : void
DrawForeground ( SpriteBatch spriteBatch ) : void
Map ( Microsoft.Xna.Framework.Graphics.Texture2D backgroundImage, Microsoft.Xna.Framework.Graphics.Texture2D foregroundImage, Bitmap collisionImage, ITexture2DHolder cloudImage, int startX, int startY, float startRotation ) : System
Update ( ) : void

Method Details

DrawBackground() public method

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

DrawForeground() public method

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

Map() public method

public Map ( Microsoft.Xna.Framework.Graphics.Texture2D backgroundImage, Microsoft.Xna.Framework.Graphics.Texture2D foregroundImage, Bitmap collisionImage, ITexture2DHolder cloudImage, int startX, int startY, float startRotation ) : System
backgroundImage Microsoft.Xna.Framework.Graphics.Texture2D
foregroundImage Microsoft.Xna.Framework.Graphics.Texture2D
collisionImage System.Drawing.Bitmap
cloudImage ITexture2DHolder
startX int
startY int
startRotation float
return System

Update() public method

public Update ( ) : void
return void