C# Class Knot3.Game.Data.Grid.NodeContent

Show file Open project: knot3/knot3-code

Public Properties

Property Type Description
Junctions List
PipesIn System.Collections.Hashtable
PipesOut System.Collections.Hashtable

Public Methods

Method Description
ContainsEdge ( System.Edge edge ) : bool
ContainsJunction ( System.Edge edgeFrom, System.Edge edgeTo ) : bool
DeleteOldJunctions ( System.Edge edgeFrom, System.Edge edgeTo ) : void
GetPipe ( System.Edge edge ) : Pipe
RemoveOldStuff ( int tick ) : void
SetTick ( System.Edge edgeFrom, System.Edge edgeTo, int tick ) : void
Update ( System.Edge edgeFrom, System.Edge edgeTo ) : void

Private Methods

Method Description
RemoveOldPipes ( Hashtable table, int tick ) : void

Method Details

ContainsEdge() public method

public ContainsEdge ( System.Edge edge ) : bool
edge System.Edge
return bool

ContainsJunction() public method

public ContainsJunction ( System.Edge edgeFrom, System.Edge edgeTo ) : bool
edgeFrom System.Edge
edgeTo System.Edge
return bool

DeleteOldJunctions() public method

public DeleteOldJunctions ( System.Edge edgeFrom, System.Edge edgeTo ) : void
edgeFrom System.Edge
edgeTo System.Edge
return void

GetPipe() public method

public GetPipe ( System.Edge edge ) : Pipe
edge System.Edge
return Knot3.Game.Models.Pipe

RemoveOldStuff() public method

public RemoveOldStuff ( int tick ) : void
tick int
return void

SetTick() public method

public SetTick ( System.Edge edgeFrom, System.Edge edgeTo, int tick ) : void
edgeFrom System.Edge
edgeTo System.Edge
tick int
return void

Update() public method

public Update ( System.Edge edgeFrom, System.Edge edgeTo ) : void
edgeFrom System.Edge
edgeTo System.Edge
return void

Property Details

Junctions public property

public List Junctions
return List

PipesIn public property

public Hashtable,System.Collections PipesIn
return System.Collections.Hashtable

PipesOut public property

public Hashtable,System.Collections PipesOut
return System.Collections.Hashtable