Метод | Описание | |
---|---|---|
Bullet ( DnK gameRef, IBulletManager myBulletManager ) : System |
Initializes a new instance of the BulletMLLib.Bullet class.
|
|
CreateTask ( ) : |
This is the method that should be used to create tasks for this dude, since they have to sync up with firedata objects
|
|
GetAimDir ( ) : float |
Get the direction to aim that bullet
|
|
GetFireData ( ) : |
Gets the fire data for the current active task
|
|
Init ( |
This bullet is fired from another bullet, initialize it from the node that fired it
|
|
InitTop ( |
Initialize this bullet with a top level node
|
|
Update ( |
Update this bullet. Called once every 1/60th of a second during runtime
|
public Bullet ( DnK gameRef, IBulletManager myBulletManager ) : System | ||
gameRef | DnK | |
myBulletManager | IBulletManager | My bullet manager. |
Результат | System |
public Init ( |
||
subNode | Sub node that defines this bullet | |
Результат | void |
public InitTop ( |
||
rootNode | This is a top level node... find the first "top" node and use it to define this bullet | |
Результат | void |
public Update ( |
||
gameTime | ||
Результат | void |