Свойство | Тип | Описание | |
---|---|---|---|
Visible | bool | ||
mDirection | Vector2 | ||
mposition | Vector2 | ||
mrotation | float | ||
mworld | |||
ondeathHandler | DestroyMeHandler | ||
removed | bool |
Метод | Описание | |
---|---|---|
Draw ( |
||
LoadContent ( Microsoft.Xna.Framework.Content.ContentManager theContentManager, GraphicsDeviceManager graphics, String textureName, String spriteSheet, int heightScale, int widthScale ) : void | ||
Update ( GameTime gameTime, Matrix _view ) : void | ||
fire ( Vector2 position, float rotation, float shotSpeed ) : void |
Метод | Описание | |
---|---|---|
Body_OnCollision ( |
||
rotateVector ( Vector2 direction, float angle ) : Vector2 |
public Draw ( |
||
theSpriteBatch | ||
Результат | void |
public LoadContent ( Microsoft.Xna.Framework.Content.ContentManager theContentManager, GraphicsDeviceManager graphics, String textureName, String spriteSheet, int heightScale, int widthScale ) : void | ||
theContentManager | Microsoft.Xna.Framework.Content.ContentManager | |
graphics | GraphicsDeviceManager | |
textureName | String | |
spriteSheet | String | |
heightScale | int | |
widthScale | int | |
Результат | void |
public Update ( GameTime gameTime, Matrix _view ) : void | ||
gameTime | GameTime | |
_view | Matrix | |
Результат | void |
public fire ( Vector2 position, float rotation, float shotSpeed ) : void | ||
position | Vector2 | |
rotation | float | |
shotSpeed | float | |
Результат | void |
public World,FarseerPhysics.Dynamics mworld | ||
Результат |