C# Class FBLibrary.Core.BaseEntities.BaseMap

显示文件 Open project: Noxalus/Final-Bomber Class Usage Examples

Public Properties

Property Type Description
Board ].IEntity[
CollisionLayer ].bool[
Loaded bool
Name string
PlayerNumber int
PlayerSpawnPoints List
Size Point

Public Methods

Method Description
DisplayBoard ( ) : void
DisplayCollisionLayer ( ) : void
FindEmptyCells ( ) : List
GetMd5 ( ) : string
Parse ( string file, BaseGameManager gameManager ) : void
Reset ( ) : void

Protected Methods

Method Description
AddEdgeWall ( BaseEdgeWall edgeWall ) : void
AddEdgeWall ( Point position ) : void
AddUnbreakableWall ( BaseUnbreakableWall unbreakableWall ) : void
AddUnbreakableWall ( Point position ) : void
BaseMap ( ) : System

Method Details

AddEdgeWall() protected method

protected AddEdgeWall ( BaseEdgeWall edgeWall ) : void
edgeWall BaseEdgeWall
return void

AddEdgeWall() protected abstract method

protected abstract AddEdgeWall ( Point position ) : void
position Point
return void

AddUnbreakableWall() protected method

protected AddUnbreakableWall ( BaseUnbreakableWall unbreakableWall ) : void
unbreakableWall BaseUnbreakableWall
return void

AddUnbreakableWall() protected abstract method

protected abstract AddUnbreakableWall ( Point position ) : void
position Point
return void

BaseMap() protected method

protected BaseMap ( ) : System
return System

DisplayBoard() public method

public DisplayBoard ( ) : void
return void

DisplayCollisionLayer() public method

public DisplayCollisionLayer ( ) : void
return void

FindEmptyCells() public method

public FindEmptyCells ( ) : List
return List

GetMd5() public method

public GetMd5 ( ) : string
return string

Parse() public method

public Parse ( string file, BaseGameManager gameManager ) : void
file string
gameManager BaseGameManager
return void

Reset() public method

public Reset ( ) : void
return void

Property Details

Board public_oe property

public IEntity[,] Board
return ].IEntity[

CollisionLayer public_oe property

public bool[,] CollisionLayer
return ].bool[

Loaded public_oe property

public bool Loaded
return bool

Name public_oe property

public string Name
return string

PlayerNumber public_oe property

public int PlayerNumber
return int

PlayerSpawnPoints public_oe property

public List PlayerSpawnPoints
return List

Size public_oe property

public Point Size
return Point