C# Class Vtj.Contest.Shooter.WeaponsSystem

Inheritance: Vtj.Gaming.GameSystem
Exibir arquivo Open project: Ventajou/Space-Dinosaurs Class Usage Examples

Public Properties

Property Type Description
MissileCount int
ShotCount int
ShotPower int
TotalMissiles int

Public Methods

Method Description
AddMissile ( ) : void
Init ( Scene level ) : void
Resume ( ) : void
Shoot ( Vtj.Gaming.Vector2D gunLocation, Vtj.Gaming.Vector2D missileBayLocation ) : void
Update ( System.Html.Media.Graphics.CanvasContext2D context ) : void

Method Details

AddMissile() public method

public AddMissile ( ) : void
return void

Init() public method

public Init ( Scene level ) : void
level Vtj.Gaming.Scene
return void

Resume() public method

public Resume ( ) : void
return void

Shoot() public method

public Shoot ( Vtj.Gaming.Vector2D gunLocation, Vtj.Gaming.Vector2D missileBayLocation ) : void
gunLocation Vtj.Gaming.Vector2D
missileBayLocation Vtj.Gaming.Vector2D
return void

Update() public method

public Update ( System.Html.Media.Graphics.CanvasContext2D context ) : void
context System.Html.Media.Graphics.CanvasContext2D
return void

Property Details

MissileCount public_oe property

public int MissileCount
return int

ShotCount public_oe property

public int ShotCount
return int

ShotPower public_oe property

public int ShotPower
return int

TotalMissiles public_oe static_oe property

public static int TotalMissiles
return int