C# Class Danmaku_no_Kyojin.BulletEngine.BulletMLNode

This is a single node from a BulletML document.
Afficher le fichier Open project: Noxalus/Danmaku-no-Kyojin Class Usage Examples

Méthodes publiques

Свойство Type Description
ChildNodes List

Méthodes publiques

Méthode Description
BulletMLNode ( ) : System

Initializes a new instance of the BulletMLLib.BulletMLNode class.

FindLabelNode ( string strLabel, ENodeName eName ) : BulletMLNode

Find a node of a specific type and label Recurse into the xml tree until we find it!

FindParentNode ( ENodeName nodeType ) : BulletMLNode

Find a parent node of the specified node type

GetChild ( ENodeName name ) : BulletMLNode
GetChildValue ( ENodeName name, BulletMLTask task ) : float
GetRootNode ( ) : BulletMLNode

Gets the root node.

GetValue ( BulletMLTask task ) : float

Gets the value of this node for a specific instance of a task.

Parse ( XmlNode bulletNodeElement, BulletMLNode parentNode ) : bool

Parse the specified bulletNodeElement. Read all the data from the xml node into this dude.

Private Methods

Méthode Description
StringToName ( string str ) : ENodeName

Convert a string to it's ENodeName enum equivalent

StringToType ( string str ) : ENodeType

Convert a string to it's ENodeType enum equivalent

Method Details

BulletMLNode() public méthode

Initializes a new instance of the BulletMLLib.BulletMLNode class.
public BulletMLNode ( ) : System
Résultat System

FindLabelNode() public méthode

Find a node of a specific type and label Recurse into the xml tree until we find it!
public FindLabelNode ( string strLabel, ENodeName eName ) : BulletMLNode
strLabel string
eName ENodeName
Résultat BulletMLNode

FindParentNode() public méthode

Find a parent node of the specified node type
public FindParentNode ( ENodeName nodeType ) : BulletMLNode
nodeType ENodeName Node type to find.
Résultat BulletMLNode

GetChild() public méthode

public GetChild ( ENodeName name ) : BulletMLNode
name ENodeName
Résultat BulletMLNode

GetChildValue() public méthode

public GetChildValue ( ENodeName name, BulletMLTask task ) : float
name ENodeName
task BulletMLTask
Résultat float

GetRootNode() public méthode

Gets the root node.
public GetRootNode ( ) : BulletMLNode
Résultat BulletMLNode

GetValue() public méthode

Gets the value of this node for a specific instance of a task.
public GetValue ( BulletMLTask task ) : float
task BulletMLTask Task.
Résultat float

Parse() public méthode

Parse the specified bulletNodeElement. Read all the data from the xml node into this dude.
public Parse ( XmlNode bulletNodeElement, BulletMLNode parentNode ) : bool
bulletNodeElement System.Xml.XmlNode Bullet node element.
parentNode BulletMLNode
Résultat bool

Property Details

ChildNodes public_oe property

A list of all the child nodes for this dude
public List ChildNodes
Résultat List