C# Class ScrollingShooter.Blimp

A blimp boss
Inheritance: ScrollingShooter.Boss
Afficher le fichier Open project: zombiepaladin/scrolling-shooter Class Usage Examples

Méthodes publiques

Свойство Type Description
leftGun LeftGun
rightGun RightGun

Méthodes publiques

Méthode Description
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

Method Details

Blimp() public méthode

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
Résultat System

Draw() public méthode

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
Résultat void

ScrollWithMap() public méthode

Scrolls the object with the map
public ScrollWithMap ( float elapsedTime ) : void
elapsedTime float The in-game time between the previous and current frame
Résultat void

Update() public méthode

Updates the Blimp
public Update ( float elapsedTime ) : void
elapsedTime float The in-game time between the previous and current frame
Résultat void

Property Details

leftGun public_oe property

public LeftGun,ScrollingShooter leftGun
Résultat LeftGun

rightGun public_oe property

public RightGun,ScrollingShooter rightGun
Résultat RightGun