C# Class Knot3.Game.Models.Junction

Inheritance: Knot3.Framework.Models.GamePrimitive, IJunction
Datei anzeigen Open project: knot3/knot3-code Class Usage Examples

Public Methods

Method Description
Equals ( IGameObject other ) : bool
Junction ( IScreen screen, IGrid grid, System.Edge from, System.Edge to, Node node, int index ) : System

Erstellt ein neues Informationsobjekt für ein 3D-Modell, das einen Kantenübergang darstellt. [base="node1", Angles3.Zero, new Vector3 (1,1,1)]

OnGridUpdated ( ) : void

Protected Methods

Method Description
CreativePrimitive ( ) : Primitive

Private Methods

Method Description
Draw ( GameTime time ) : void
chooseModel ( ) : void
chooseModelOneJunction ( ) : void
chooseModelThreeJunctions ( ) : void
chooseModelTwoJunctions ( ) : 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

Junction() public method

Erstellt ein neues Informationsobjekt für ein 3D-Modell, das einen Kantenübergang darstellt. [base="node1", Angles3.Zero, new Vector3 (1,1,1)]
public Junction ( IScreen screen, IGrid grid, System.Edge from, System.Edge to, Node node, int index ) : System
screen IScreen
grid IGrid
from System.Edge
to System.Edge
node Node
index int
return System

OnGridUpdated() public method

public OnGridUpdated ( ) : void
return void