C# Class Gravitation.Maps.MapLoader

Show file Open project: thedamoes/Gravitation

Public Properties

Property Type Description
MapFile String

Public Methods

Method Description
MapLoader ( String fileName, World world ) : System
drawMap ( SpriteBatch sb ) : void
loadMap ( Microsoft.Xna.Framework.Content.ContentManager cm ) : void
unloadBodies ( ) : void

Private Methods

Method Description
createBackground ( SpriteObjects &back, MapSurfacesBackgoundPicture backSpec ) : void
createObsicals ( SpriteObjects &obsicals, MapSurfacesAsset obsicalsSpec ) : void
createWall ( SpriteObjects &wall, MapSurfacesWall wallSpec ) : void
getUpgradeSpawns ( MapPosition powerupsSpec ) : List

Method Details

MapLoader() public method

public MapLoader ( String fileName, World world ) : System
fileName String
world FarseerPhysics.Dynamics.World
return System

drawMap() public method

public drawMap ( SpriteBatch sb ) : void
sb Microsoft.Xna.Framework.Graphics.SpriteBatch
return void

loadMap() public method

public loadMap ( Microsoft.Xna.Framework.Content.ContentManager cm ) : void
cm Microsoft.Xna.Framework.Content.ContentManager
return void

unloadBodies() public method

public unloadBodies ( ) : void
return void

Property Details

MapFile public property

public String MapFile
return String