C# Class Ballz.SessionFactory.Worms

Inheritance: SessionFactory
Show file Open project: SpagAachen/Ballz

Public Properties

Property Type Description
MapName string
SpawnPoints List
UsePlayerTurns bool

Public Methods

Method Description
FindSpawnPoints ( Microsoft.Xna.Framework.Graphics.Texture2D map, float terrainScale ) : void
SelectSpawnpoints ( int count ) : List
Worms ( int width, int height, bool usePlayerTurns = false ) : System
Worms ( string mapName = "Beach", bool usePlayerTurns = false ) : System

Protected Methods

Method Description
ImplInitializeSession ( Ballz game, GameSession settings ) : void
ImplStartSession ( Ballz game, GameSettings settings, bool remoteControlled, int localPlayerId ) : Session

Method Details

FindSpawnPoints() public method

public FindSpawnPoints ( Microsoft.Xna.Framework.Graphics.Texture2D map, float terrainScale ) : void
map Microsoft.Xna.Framework.Graphics.Texture2D
terrainScale float
return void

ImplInitializeSession() protected method

protected ImplInitializeSession ( Ballz game, GameSession settings ) : void
game Ballz
settings GameSession
return void

ImplStartSession() protected method

protected ImplStartSession ( Ballz game, GameSettings settings, bool remoteControlled, int localPlayerId ) : Session
game Ballz
settings GameSettings
remoteControlled bool
localPlayerId int
return Ballz.GameSession.Session

SelectSpawnpoints() public method

public SelectSpawnpoints ( int count ) : List
count int
return List

Worms() public method

public Worms ( int width, int height, bool usePlayerTurns = false ) : System
width int
height int
usePlayerTurns bool
return System

Worms() public method

public Worms ( string mapName = "Beach", bool usePlayerTurns = false ) : System
mapName string
usePlayerTurns bool
return System

Property Details

MapName public property

public string MapName
return string

SpawnPoints public property

public List SpawnPoints
return List

UsePlayerTurns public property

public bool UsePlayerTurns
return bool