C# Class WarTornLands.Infrastructure.EntityBuilder

This class provides helper methods for the XML parser to encapsulate extensive Entity constructing routines.
Show file Open project: floAr/WarTornLands Class Usage Examples

Public Methods

Method Description
Begin ( ) : void
BeginArea ( Area area ) : void
CreateEntity ( TileSetBox tilesetBox, DataRow data ) : Entity
DepositZone ( int id, Zone zone ) : void
End ( ) : void
EndArea ( ) : void

Private Methods

Method Description
ConnectJumpPoints ( ) : void
CreateEntity ( DataSet data ) : Entity

Creates an Entity from a given XML DataSet. Used locally by other CreateEntity routines

CreateEntity ( string entityType ) : Entity

Creates an Entity of the given Type. Used locally by other CreateEntity routines

EntityBuilder ( ) : System
FindMatch ( int id ) : Zone
SwitchItemType ( DataRow data ) : Item

Method Details

Begin() public static method

public static Begin ( ) : void
return void

BeginArea() public static method

public static BeginArea ( Area area ) : void
area WarTornLands.World.Area
return void

CreateEntity() public method

public CreateEntity ( TileSetBox tilesetBox, DataRow data ) : Entity
tilesetBox WarTornLands.World.TileSetBox
data System.Data.DataRow
return Entity

DepositZone() public method

public DepositZone ( int id, Zone zone ) : void
id int
zone Zone
return void

End() public static method

public static End ( ) : void
return void

EndArea() public static method

public static EndArea ( ) : void
return void