C# Class WarTornLands.Infrastructure.Systems.Camera2D.Camera2D

Afficher le fichier Open project: floAr/WarTornLands Class Usage Examples

Méthodes publiques

Méthode Description
Camera2D ( Entities target ) : System
PlayCinematic ( List points, int durationMS ) : void
SetTarget ( Entities anchor ) : void
Update ( GameTime gameTime ) : void

Private Methods

Méthode Description
BreakCinematic ( ) : void
GetDrawRectangle ( Rectangle rect, float altitude = 0.0f ) : Rectangle

Get drawing rectangle on screen from logical entity boundings.

PlayCinematic ( List points ) : void

Method Details

Camera2D() public méthode

public Camera2D ( Entities target ) : System
target Entities
Résultat System

PlayCinematic() public méthode

public PlayCinematic ( List points, int durationMS ) : void
points List
durationMS int
Résultat void

SetTarget() public méthode

public SetTarget ( Entities anchor ) : void
anchor Entities
Résultat void

Update() public méthode

public Update ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
Résultat void