Method | Description | |
---|---|---|
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. |
return | System |
public Init ( |
||
subNode | Sub node that defines this bullet | |
return | void |
public InitTop ( |
||
rootNode | This is a top level node... find the first "top" node and use it to define this bullet | |
return | void |
public Update ( |
||
gameTime | ||
return | void |