C# 클래스 MageDefenderDeluxe.GameObjects.EnemyHandler

This is a game component that implements IUpdateable.
상속: Microsoft.Xna.Framework.DrawableGameComponent
파일 보기 프로젝트 열기: petriw/MageDefenderDeluxe 1 사용 예제들

공개 메소드들

메소드 설명
AddEnemy ( Vector3 pos, Enemies e ) : void
ApplyAlignments ( ) : void
Draw ( GameTime gameTime ) : void
EnemyHandler ( Microsoft.Xna.Framework.Game game ) : System
GenerateEnemies ( ) : void
Initialize ( ) : void

Allows the game component to perform any initialization it needs to before starting to run. This is where it can query for any required services and load content.

IsCollidingWithPlayer ( Vector3 playerPos ) : void
IsCollidingWithSpell ( SpellHandler spellHandler ) : void
NextLevel ( ) : void
ResetAfterGameOver ( ) : void
Update ( GameTime gameTime ) : void

Allows the game component to update itself.

보호된 메소드들

메소드 설명
LoadContent ( ) : void

비공개 메소드들

메소드 설명
MoveEnemies ( GameTime gameTime ) : void
SpawnEnemy ( GameTime gameTime ) : void

메소드 상세

AddEnemy() 공개 메소드

public AddEnemy ( Vector3 pos, Enemies e ) : void
pos Vector3
e Enemies
리턴 void

ApplyAlignments() 공개 메소드

public ApplyAlignments ( ) : void
리턴 void

Draw() 공개 메소드

public Draw ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
리턴 void

EnemyHandler() 공개 메소드

public EnemyHandler ( Microsoft.Xna.Framework.Game game ) : System
game Microsoft.Xna.Framework.Game
리턴 System

GenerateEnemies() 공개 메소드

public GenerateEnemies ( ) : void
리턴 void

Initialize() 공개 메소드

Allows the game component to perform any initialization it needs to before starting to run. This is where it can query for any required services and load content.
public Initialize ( ) : void
리턴 void

IsCollidingWithPlayer() 공개 메소드

public IsCollidingWithPlayer ( Vector3 playerPos ) : void
playerPos Vector3
리턴 void

IsCollidingWithSpell() 공개 메소드

public IsCollidingWithSpell ( SpellHandler spellHandler ) : void
spellHandler SpellHandler
리턴 void

LoadContent() 보호된 메소드

protected LoadContent ( ) : void
리턴 void

NextLevel() 공개 메소드

public NextLevel ( ) : void
리턴 void

ResetAfterGameOver() 공개 메소드

public ResetAfterGameOver ( ) : void
리턴 void

Update() 공개 메소드

Allows the game component to update itself.
public Update ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime Provides a snapshot of timing values.
리턴 void