C# Class MegaMan.Engine.ScreenLayer

Inheritance: IScreenLayer
Afficher le fichier Open project: Tesserex/C--MegaMan-Engine

Méthodes publiques

Méthode Description
Draw ( GameRenderEventArgs renderArgs, int screenPixelWidth ) : void
GetEntities ( string name ) : IEnumerable
GetEntity ( string id ) : GameEntity
ResetDeath ( ) : void
ScreenLayer ( ScreenLayerInfo info, StageHandler stage, IEntityRespawnTracker respawnTracker ) : System
SquareAt ( float px, float py ) : MapSquare
Start ( ) : void
Stop ( ) : void
Update ( ) : void

Private Methods

Méthode Description
Draw ( IRenderingContext context, float off_x, float off_y ) : void
IsOnScreen ( float x, float y ) : bool
PlaceEntity ( int index, GameEntity entity ) : void
RespawnEntities ( ) : void
RunKeyframe ( ScreenLayerKeyframe keyframe ) : void

Method Details

Draw() public méthode

public Draw ( GameRenderEventArgs renderArgs, int screenPixelWidth ) : void
renderArgs GameRenderEventArgs
screenPixelWidth int
Résultat void

GetEntities() public méthode

public GetEntities ( string name ) : IEnumerable
name string
Résultat IEnumerable

GetEntity() public méthode

public GetEntity ( string id ) : GameEntity
id string
Résultat GameEntity

ResetDeath() public méthode

public ResetDeath ( ) : void
Résultat void

ScreenLayer() public méthode

public ScreenLayer ( ScreenLayerInfo info, StageHandler stage, IEntityRespawnTracker respawnTracker ) : System
info MegaMan.Common.ScreenLayerInfo
stage StageHandler
respawnTracker IEntityRespawnTracker
Résultat System

SquareAt() public méthode

public SquareAt ( float px, float py ) : MapSquare
px float
py float
Résultat MapSquare

Start() public méthode

public Start ( ) : void
Résultat void

Stop() public méthode

public Stop ( ) : void
Résultat void

Update() public méthode

public Update ( ) : void
Résultat void