C# Class ScrollingShooter.Blimp

A blimp boss
Inheritance: ScrollingShooter.Boss
Mostrar archivo Open project: zombiepaladin/scrolling-shooter Class Usage Examples

Public Properties

Property Type Description
leftGun LeftGun
rightGun RightGun

Public Methods

Method 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 method

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
return System

Draw() public method

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
return void

ScrollWithMap() public method

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

Update() public method

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

Property Details

leftGun public_oe property

public LeftGun,ScrollingShooter leftGun
return LeftGun

rightGun public_oe property

public RightGun,ScrollingShooter rightGun
return RightGun