Property | Type | Description | |
---|---|---|---|
Direction | Vector2 | ||
aiming | bool | ||
ball | |||
hasShot | bool | ||
placing | bool |
Method | Description | |
---|---|---|
Cannon ( Microsoft.Xna.Framework.Graphics.Texture2D texture, Vector2 position, Vector2 direction ) : System | ||
Control ( ) : void | ||
Draw ( |
||
Fire ( |
||
updateRotation ( ) : void |
public Cannon ( Microsoft.Xna.Framework.Graphics.Texture2D texture, Vector2 position, Vector2 direction ) : System | ||
texture | Microsoft.Xna.Framework.Graphics.Texture2D | |
position | Vector2 | |
direction | Vector2 | |
return | System |
public Draw ( |
||
spriteBatch | ||
return | void |