C# Class WaveOculusDemoProject.Components.FighterController

This class control a space fighter
Inheritance: Behavior
显示文件 Open project: WaveEngine/Samples

Private Properties

Property Type Description
laserTrigger_OnActionChange void
projectileEmitter_OnShoot void

Protected Methods

Method Description
DefaultValues ( ) : void
Initialize ( ) : void

Initializes the fighter controller

Update ( System.TimeSpan gameTime ) : void

Update visibility of the fighter

Private Methods

Method Description
laserTrigger_OnActionChange ( object sender, bool e ) : void

The laser trigger value has been changed

projectileEmitter_OnShoot ( object sender, EventArgs e ) : void

A projectile has been emitted

Method Details

DefaultValues() protected method

protected DefaultValues ( ) : void
return void

Initialize() protected method

Initializes the fighter controller
protected Initialize ( ) : void
return void

Update() protected method

Update visibility of the fighter
protected Update ( System.TimeSpan gameTime ) : void
gameTime System.TimeSpan The current game time
return void