C# Class PGCGame.Drone

Inheritance: PGCGame.Ships.Allies.BaseAllyShip
Afficher le fichier Open project: GreatMindsRobotics/PGCGame

Méthodes publiques

Свойство Type Description
BadStates System.Collections.ObjectModel.ReadOnlyCollection
DeployKey Keys

Méthodes publiques

Méthode Description
DrawNonAuto ( ) : void
Drone ( Texture2D texture, Vector2 location, SpriteBatch spriteBatch, FighterCarrier parent ) : System
Shoot ( ) : void
Update ( GameTime gameTime ) : void

Private Methods

Méthode Description
Buttons_XButtonPressed ( object sender, EventArgs e ) : void
Drone ( ) : System
OtherDroneDetects ( ) : bool
isEnemyDetected ( ) : bool

Computes the distance to the nearest enemy.

parent_TierChanged ( object sender, EventArgs e ) : void

Method Details

DrawNonAuto() public méthode

public DrawNonAuto ( ) : void
Résultat void

Drone() public méthode

public Drone ( Texture2D texture, Vector2 location, SpriteBatch spriteBatch, FighterCarrier parent ) : System
texture Texture2D
location Vector2
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
parent FighterCarrier
Résultat System

Shoot() public méthode

public Shoot ( ) : void
Résultat void

Update() public méthode

public Update ( GameTime gameTime ) : void
gameTime GameTime
Résultat void

Property Details

BadStates public_oe static_oe property

public static System.Collections.ObjectModel.ReadOnlyCollection BadStates
Résultat System.Collections.ObjectModel.ReadOnlyCollection

DeployKey public_oe static_oe property

public static Keys DeployKey
Résultat Keys