C# 클래스 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
파일 보기 프로젝트 열기: Noxalus/Danmaku-no-Kyojin 1 사용 예제들

공개 메소드들

메소드 설명
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.

보호된 메소드들

메소드 설명
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.

메소드 상세

BulletMLTask() 공개 메소드

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

GetParamValue() 공개 메소드

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

Init() 보호된 메소드

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
리턴 void

Parse() 공개 메소드

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
리턴 void

Run() 공개 메소드

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.
리턴 ERunStatus