C# Class Danmaku_no_Kyojin.BulletEngine.BulletMLTask

This is a task..each task is the action from a single xml node, for one bullet. basically each bullet makes a tree of these to match its pattern
Mostrar archivo Open project: Noxalus/Danmaku-no-Kyojin Class Usage Examples

Public Methods

Method Description
BulletMLTask ( BulletMLNode node, BulletMLTask owner ) : System.Collections.Generic

Initializes a new instance of the BulletMLLib.BulletMLTask class.

GetParamValue ( int iParamNumber ) : float

Get the value of a parameter of this task.

Parse ( BulletMLNode myNode, Bullet bullet ) : void

Parse a specified node and bullet into this task

Run ( Bullet bullet ) : ERunStatus

Run this task and all subtasks against a bullet This is called once a frame during runtime.

Protected Methods

Method Description
Init ( ) : void

Init this task and all its sub tasks. This method should be called AFTER the nodes are parsed, but BEFORE run is called.

Method Details

BulletMLTask() public method

Initializes a new instance of the BulletMLLib.BulletMLTask class.
public BulletMLTask ( BulletMLNode node, BulletMLTask owner ) : System.Collections.Generic
node BulletMLNode Node.
owner BulletMLTask Owner.
return System.Collections.Generic

GetParamValue() public method

Get the value of a parameter of this task.
public GetParamValue ( int iParamNumber ) : float
iParamNumber int the index of the parameter to get
return float

Init() protected method

Init this task and all its sub tasks. This method should be called AFTER the nodes are parsed, but BEFORE run is called.
protected Init ( ) : void
return void

Parse() public method

Parse a specified node and bullet into this task
public Parse ( BulletMLNode myNode, Bullet bullet ) : void
myNode BulletMLNode the node for this dude
bullet Bullet the bullet this dude is controlling
return void

Run() public method

Run this task and all subtasks against a bullet This is called once a frame during runtime.
public Run ( Bullet bullet ) : ERunStatus
bullet Bullet The bullet to update this task against.
return ERunStatus