C# Класс ScrollingShooter.RightGun

The RightGun for the Blimp Boss
Наследование: ScrollingShooter.Boss
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
Draw ( float elapsedTime, SpriteBatch spriteBatch ) : void

Draw the RightGun on-screen

RightGun ( uint id, Microsoft.Xna.Framework.Content.ContentManager content, Blimp ship ) : System

Creates a new RightGun

ScrollWithMap ( float elapsedTime ) : void

Scrolls the object with the map

Update ( float elapsedTime ) : void

Updates the RightGun

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

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

Draw the RightGun on-screen
public Draw ( float elapsedTime, SpriteBatch spriteBatch ) : void
elapsedTime float The in-game time between the previous and current frame
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch An already initialized SpriteBatch, ready for Draw() commands
Результат void

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

Creates a new RightGun
public RightGun ( uint id, Microsoft.Xna.Framework.Content.ContentManager content, Blimp ship ) : System
id uint
content Microsoft.Xna.Framework.Content.ContentManager A ContentManager to load resources with
ship Blimp
Результат System

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

Scrolls the object with the map
public ScrollWithMap ( float elapsedTime ) : void
elapsedTime float The in-game time between the previous and current frame
Результат void

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

Updates the RightGun
public Update ( float elapsedTime ) : void
elapsedTime float The in-game time between the previous and current frame
Результат void