메소드 | 설명 | |
---|---|---|
Bullet ( IBulletManager myBulletManager ) : System |
Initializes a new instance of the BulletMLLib.Bullet class.
|
|
FindTaskByLabel ( string strLabel ) : |
Finds the task by label. This recurses into child tasks to find the taks with the correct label Used only for unit testing!
|
|
FindTaskByLabelAndName ( string strLabel, ENodeName eName ) : |
given a label and name, find the task that matches
|
|
GetAimDir ( ) : float |
Get the direction to aim that bullet
|
|
InitBullet ( ) : void |
After the creation, initialize the bullet with its data (like the correct sprite, etc)
|
|
InitNode ( BulletMLLib.BulletMLNode subNode ) : void |
This bullet is fired from another bullet, initialize it from the node that fired it
|
|
InitTopNode ( BulletMLLib.BulletMLNode rootNode ) : void |
Initialize this bullet with a top level node
|
|
Update ( ) : void |
Update this bullet. Called once every 1/60th of a second during runtime
|
public Bullet ( IBulletManager myBulletManager ) : System | ||
myBulletManager | IBulletManager | My bullet manager. |
리턴 | System |
public FindTaskByLabel ( string strLabel ) : |
||
strLabel | string | String label. |
리턴 |
public FindTaskByLabelAndName ( string strLabel, ENodeName eName ) : |
||
strLabel | string | String label of the task |
eName | ENodeName | the name of the node the task should be attached to |
리턴 |
public InitNode ( BulletMLLib.BulletMLNode subNode ) : void | ||
subNode | BulletMLLib.BulletMLNode | Sub node that defines this bullet |
리턴 | void |
public InitTopNode ( BulletMLLib.BulletMLNode rootNode ) : void | ||
rootNode | BulletMLLib.BulletMLNode | This is a top level node... find the first "top" node and use it to define this bullet |
리턴 | void |