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

ファイルを表示 Open project: floAr/WarTornLands Class Usage Examples

Public Methods

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

Private Methods

Method 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 method

public Camera2D ( Entities target ) : System
target Entities
return System

PlayCinematic() public method

public PlayCinematic ( List points, int durationMS ) : void
points List
durationMS int
return void

SetTarget() public method

public SetTarget ( Entities anchor ) : void
anchor Entities
return void

Update() public method

public Update ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
return void