C# Class RaceGame.ContentLoader

Datei anzeigen Open project: cjohnsson/Racing-Game

Public Methods

Method Description
GetCarTexture ( int index ) : Microsoft.Xna.Framework.Graphics.Texture2D
GetMapBackground ( int index ) : Microsoft.Xna.Framework.Graphics.Texture2D
GetMapCollision ( int index ) : Bitmap
GetMapForeground ( int index ) : Microsoft.Xna.Framework.Graphics.Texture2D
Load ( Microsoft.Xna.Framework.Content.ContentManager manager ) : void

Method Details

GetCarTexture() public static method

public static GetCarTexture ( int index ) : Microsoft.Xna.Framework.Graphics.Texture2D
index int
return Microsoft.Xna.Framework.Graphics.Texture2D

GetMapBackground() public static method

public static GetMapBackground ( int index ) : Microsoft.Xna.Framework.Graphics.Texture2D
index int
return Microsoft.Xna.Framework.Graphics.Texture2D

GetMapCollision() public static method

public static GetMapCollision ( int index ) : Bitmap
index int
return System.Drawing.Bitmap

GetMapForeground() public static method

public static GetMapForeground ( int index ) : Microsoft.Xna.Framework.Graphics.Texture2D
index int
return Microsoft.Xna.Framework.Graphics.Texture2D

Load() public static method

public static Load ( Microsoft.Xna.Framework.Content.ContentManager manager ) : void
manager Microsoft.Xna.Framework.Content.ContentManager
return void