C# 클래스 XPlane.Core.EntityComposer

상속: IUpdateable, IDrawable
파일 보기 프로젝트 열기: ThuCommix/Sharpex2D

Private Properties

프로퍼티 타입 설명
CreateEnemyIfRequired void
CreateExplosion void
CreateGameMessage void
CreateProjectile void
CreateScoreIndicator void
DrawDamageIndicators void
DrawEnemies void
DrawExplosions void
DrawGameMessage void
DrawProjectiles void
HandlePlayerInput void
UpdateCollisions void
UpdateDamageIndicators void
UpdateEnemies void
UpdateExplosion void
UpdateGameMessage void
UpdateProjectiles void

공개 메소드들

메소드 설명
Draw ( SpriteBatch spriteBatch, GameTime gameTime ) : void

Draws the EntityComposer.

EntityComposer ( ) : System.Collections.Generic

Initializes a new EntityComposer class.

Update ( GameTime gameTime ) : void

Updates the EntityComposer.

비공개 메소드들

메소드 설명
CreateEnemyIfRequired ( GameTime gameTime ) : void

Creates a new Enemy if required.

CreateExplosion ( Vector2 position ) : void

Creates a new explosion.

CreateGameMessage ( string message ) : void

Creates a new game message.

CreateProjectile ( ) : void

Creates a new projectile.

CreateScoreIndicator ( Vector2 position, int score, Color color ) : void

Creates a new DamageIndicator.

DrawDamageIndicators ( SpriteBatch spriteBatch, GameTime gameTime ) : void

Draws the damage indicators.

DrawEnemies ( SpriteBatch spriteBatch, GameTime gameTime ) : void

Draws the enemies.

DrawExplosions ( SpriteBatch spriteBatch, GameTime gameTime ) : void

Draws the projectiles.

DrawGameMessage ( SpriteBatch spriteBatch, GameTime gameTime ) : void

Updates the game message.

DrawProjectiles ( SpriteBatch spriteBatch, GameTime gameTime ) : void

Draws the projectiles.

HandlePlayerInput ( GameTime gameTime ) : void

Handles the player input.

UpdateCollisions ( GameTime gameTime ) : void

Updates the collisions.

UpdateDamageIndicators ( GameTime gameTime ) : void

Updates the damage indicators.

UpdateEnemies ( GameTime gameTime ) : void

Updates the enemies.

UpdateExplosion ( GameTime gameTime ) : void

Updates the explosions.

UpdateGameMessage ( GameTime gameTime ) : void

Updates the game message.

UpdateProjectiles ( GameTime gameTime ) : void

Updates the projectiles.

메소드 상세

Draw() 공개 메소드

Draws the EntityComposer.
public Draw ( SpriteBatch spriteBatch, GameTime gameTime ) : void
spriteBatch Sharpex2D.Rendering.SpriteBatch The spriteBatch.
gameTime Sharpex2D.GameTime The GameTime.
리턴 void

EntityComposer() 공개 메소드

Initializes a new EntityComposer class.
public EntityComposer ( ) : System.Collections.Generic
리턴 System.Collections.Generic

Update() 공개 메소드

Updates the EntityComposer.
public Update ( GameTime gameTime ) : void
gameTime Sharpex2D.GameTime The GameTime.
리턴 void