C# Class BulletMLLib.AccelTask

This task adds acceleration to a bullet.
Inheritance: BulletMLTask
Show file Open project: pixelnest/BulletMLLib

Public Methods

Method Description
AccelTask ( BulletMLLib.AccelNode node, BulletMLTask owner ) : System.Diagnostics

Initializes a new instance of the BulletMLLib.BulletMLTask class.

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
SetupTask ( Bullet bullet ) : void

this sets up the task to be run.

Method Details

AccelTask() public method

Initializes a new instance of the BulletMLLib.BulletMLTask class.
public AccelTask ( BulletMLLib.AccelNode node, BulletMLTask owner ) : System.Diagnostics
node BulletMLLib.AccelNode Node.
owner BulletMLTask Owner.
return System.Diagnostics

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

SetupTask() protected method

this sets up the task to be run.
protected SetupTask ( Bullet bullet ) : void
bullet Bullet Bullet.
return void