C# Класс ScrollingShooter.Blimp

A blimp boss
Наследование: ScrollingShooter.Boss
Показать файл Открыть проект Примеры использования класса

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

Свойство Тип Описание
leftGun LeftGun
rightGun RightGun

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

Метод Описание
Blimp ( uint id, Vector2 position, Microsoft.Xna.Framework.Content.ContentManager content ) : System

Creates a new Blimp

Draw ( float elapsedTime, SpriteBatch spriteBatch ) : void

Draw the Blimp body on-screen

ScrollWithMap ( float elapsedTime ) : void

Scrolls the object with the map

Update ( float elapsedTime ) : void

Updates the Blimp

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

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

Creates a new Blimp
public Blimp ( uint id, Vector2 position, Microsoft.Xna.Framework.Content.ContentManager content ) : System
id uint
position Vector2 The position of the Blimp in the game world
content Microsoft.Xna.Framework.Content.ContentManager A ContentManager to load resources with
Результат System

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

Draw the Blimp body 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

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 Blimp
public Update ( float elapsedTime ) : void
elapsedTime float The in-game time between the previous and current frame
Результат void

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

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

public LeftGun,ScrollingShooter leftGun
Результат LeftGun

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

public RightGun,ScrollingShooter rightGun
Результат RightGun