C# Class RaceGame.Map

Inheritance: IMap
Afficher le fichier Open project: cjohnsson/Racing-Game Class Usage Examples

Méthodes publiques

Méthode 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 méthode

public DrawBackground ( SpriteBatch spriteBatch ) : void
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
Résultat void

DrawForeground() public méthode

public DrawForeground ( SpriteBatch spriteBatch ) : void
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
Résultat void

Map() public méthode

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
Résultat System

Update() public méthode

public Update ( ) : void
Résultat void