C# Class Knot3.Game.Models.Junction

Inheritance: Knot3.Framework.Models.GamePrimitive, IJunction
Afficher le fichier Open project: knot3/knot3-code Class Usage Examples

Méthodes publiques

Méthode 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

Méthodes protégées

Méthode Description
CreativePrimitive ( ) : Primitive

Private Methods

Méthode Description
Draw ( GameTime time ) : void
chooseModel ( ) : void
chooseModelOneJunction ( ) : void
chooseModelThreeJunctions ( ) : void
chooseModelTwoJunctions ( ) : void
initialize ( ) : void

Method Details

CreativePrimitive() protected méthode

protected CreativePrimitive ( ) : Primitive
Résultat Knot3.Framework.Primitives.Primitive

Equals() public méthode

public Equals ( IGameObject other ) : bool
other IGameObject
Résultat bool

Junction() public méthode

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
Résultat System

OnGridUpdated() public méthode

public OnGridUpdated ( ) : void
Résultat void