C# Class BulletMLLib.ChangeSpeedTask

This task changes the speed a little bit every frame.
Inheritance: BulletMLTask
Show file Open project: pixelnest/BulletMLLib

Private Properties

Property Type Description

Public Methods

Method Description
ChangeSpeedTask ( BulletMLLib.ChangeSpeedNode 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

ChangeSpeedTask() public method

Initializes a new instance of the BulletMLLib.BulletMLTask class.
public ChangeSpeedTask ( BulletMLLib.ChangeSpeedNode node, BulletMLTask owner ) : System.Diagnostics
node BulletMLLib.ChangeSpeedNode 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