C# 클래스 ScrollingShooter.Blimp

A blimp boss
상속: ScrollingShooter.Boss
파일 보기 프로젝트 열기: zombiepaladin/scrolling-shooter 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
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