C# Class Knot3.Game.Models.Pipe

Inheritance: Knot3.Framework.Models.GamePrimitive
Show file Open project: knot3/knot3-code Class Usage Examples

Public Properties

Property Type Description
Grid IGrid

Public Methods

Method Description
Equals ( IGameObject other ) : bool
OnGridUpdated ( ) : void
Pipe ( IScreen screen, IGrid grid, Knot knot, System.Edge edge, Node node1, Node node2 ) : System

Erstellt ein neues Informationsobjekt für ein 3D-Modell, das eine Kante darstellt. [base="pipe1", Angles3.Zero, new Vector3 (10,10,10)]

Protected Methods

Method Description
CreativePrimitive ( ) : Primitive

Private Methods

Method Description
Draw ( GameTime time ) : void
initialize ( ) : void

Method Details

CreativePrimitive() protected method

protected CreativePrimitive ( ) : Primitive
return Knot3.Framework.Primitives.Primitive

Equals() public method

public Equals ( IGameObject other ) : bool
other IGameObject
return bool

OnGridUpdated() public method

public OnGridUpdated ( ) : void
return void

Pipe() public method

Erstellt ein neues Informationsobjekt für ein 3D-Modell, das eine Kante darstellt. [base="pipe1", Angles3.Zero, new Vector3 (10,10,10)]
public Pipe ( IScreen screen, IGrid grid, Knot knot, System.Edge edge, Node node1, Node node2 ) : System
screen IScreen
grid IGrid
knot Knot
edge System.Edge
node1 Node
node2 Node
return System

Property Details

Grid public property

public IGrid Grid
return IGrid