Property | Type | Description | |
---|---|---|---|
RandomlyShoot | void |
Method | Description | |
---|---|---|
Draw ( |
||
Lift ( Vector2 spaceshipCenter, float pullAcceleration, Vector2 beamPosition, int beamWidth ) : void | ||
LoadContent ( Microsoft.Xna.Framework.Content.ContentManager content ) : void | ||
Move ( ) : void | ||
RotateGun ( Vector2 spaceshipPosition, int width, int height ) : void | ||
Tank ( Vector2 position, |
||
Update ( |
Method | Description | |
---|---|---|
RandomlyShoot ( System.TimeSpan elapsedTime ) : void |
public Draw ( |
||
spriteBatch | ||
return | void |
public Lift ( Vector2 spaceshipCenter, float pullAcceleration, Vector2 beamPosition, int beamWidth ) : void | ||
spaceshipCenter | Vector2 | |
pullAcceleration | float | |
beamPosition | Vector2 | |
beamWidth | int | |
return | void |
public LoadContent ( Microsoft.Xna.Framework.Content.ContentManager content ) : void | ||
content | Microsoft.Xna.Framework.Content.ContentManager | |
return | void |
public RotateGun ( Vector2 spaceshipPosition, int width, int height ) : void | ||
spaceshipPosition | Vector2 | |
width | int | |
height | int | |
return | void |
public Tank ( Vector2 position, |
||
position | Vector2 | |
manager | ||
random | ||
return | System |
public Update ( |
||
gameTime | ||
return | void |