C# Class UHSampleGame.LevelManagement.LevelManager

Datei anzeigen Open project: holtkampw/UH-Sample-XNA-Project

Public Properties

Property Type Description
CurrentLevel Level

Public Methods

Method Description
AddPlayer ( Player player ) : void
CreateLevel ( Vector2 size, PlayerSetup playerSetup ) : void
Initialize ( ) : void
LoadLevel ( int level ) : void

Private Methods

Method Description
InitLevel1 ( ) : void
SetupPlayerOnMap ( List activePlayers, List map, int currentPlayerIndex, int y ) : int

Method Details

AddPlayer() public static method

public static AddPlayer ( Player player ) : void
player UHSampleGame.Players.Player
return void

CreateLevel() public static method

public static CreateLevel ( Vector2 size, PlayerSetup playerSetup ) : void
size Vector2
playerSetup UHSampleGame.Players.PlayerSetup
return void

Initialize() public static method

public static Initialize ( ) : void
return void

LoadLevel() public static method

public static LoadLevel ( int level ) : void
level int
return void

Property Details

CurrentLevel public_oe static_oe property

public static Level CurrentLevel
return Level