C# Класс Gravitation.SpriteObjects.Net

Наследование: AlternateShot
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
collided bool
netHealth int

Открытые методы

Метод Описание
Draw ( SpriteBatch theSpriteBatch ) : void
LoadContent ( Microsoft.Xna.Framework.Content.ContentManager theContentManager, GraphicsDeviceManager graphics ) : void
Net ( World world, Vector2 position, float rotation, DestroyMeHandler onDeathHandler ) : System
Update ( GameTime gameTime, Matrix _view ) : void
altFire ( Vector2 theStartPosition, float rotation, float shotSpeed ) : void
removeNet ( ) : void

Приватные методы

Метод Описание
rotateVector ( Vector2 direction, float angle ) : Vector2

Описание методов

Draw() публичный Метод

public Draw ( SpriteBatch theSpriteBatch ) : void
theSpriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
Результат void

LoadContent() публичный Метод

public LoadContent ( Microsoft.Xna.Framework.Content.ContentManager theContentManager, GraphicsDeviceManager graphics ) : void
theContentManager Microsoft.Xna.Framework.Content.ContentManager
graphics GraphicsDeviceManager
Результат void

Net() публичный Метод

public Net ( World world, Vector2 position, float rotation, DestroyMeHandler onDeathHandler ) : System
world FarseerPhysics.Dynamics.World
position Vector2
rotation float
onDeathHandler DestroyMeHandler
Результат System

Update() публичный Метод

public Update ( GameTime gameTime, Matrix _view ) : void
gameTime GameTime
_view Matrix
Результат void

altFire() публичный Метод

public altFire ( Vector2 theStartPosition, float rotation, float shotSpeed ) : void
theStartPosition Vector2
rotation float
shotSpeed float
Результат void

removeNet() публичный Метод

public removeNet ( ) : void
Результат void

Описание свойств

collided публичное свойство

public bool collided
Результат bool

netHealth публичное свойство

public int netHealth
Результат int