C# Class TiledLib.Camera

Afficher le fichier Open project: GarethIW/LDEngine Class Usage Examples

Méthodes publiques

Свойство Type Description
BoundsHeight int
BoundsWidth int
CameraMatrix Matrix
ClampRect Microsoft.Xna.Framework.Rectangle
Height int
Instance Camera
Position Vector2
Rotation float
RotationTarget float
Target Vector2
Width int
Zoom float

Méthodes publiques

Méthode Description
Camera ( int width, int height, Map map ) : System
Camera ( int width, int height, int boundswidth, int boundsheight ) : System
Shake ( double time, float amount ) : void
Update ( GameTime gameTime ) : void

Update the camera

Method Details

Camera() public méthode

public Camera ( int width, int height, Map map ) : System
width int
height int
map Map
Résultat System

Camera() public méthode

public Camera ( int width, int height, int boundswidth, int boundsheight ) : System
width int
height int
boundswidth int
boundsheight int
Résultat System

Shake() public méthode

public Shake ( double time, float amount ) : void
time double
amount float
Résultat void

Update() public méthode

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

Property Details

BoundsHeight public_oe property

public int BoundsHeight
Résultat int

BoundsWidth public_oe property

public int BoundsWidth
Résultat int

CameraMatrix public_oe property

public Matrix CameraMatrix
Résultat Matrix

ClampRect public_oe property

public Rectangle,Microsoft.Xna.Framework ClampRect
Résultat Microsoft.Xna.Framework.Rectangle

Height public_oe property

public int Height
Résultat int

Instance public_oe static_oe property

public static Camera,TiledLib Instance
Résultat Camera

Position public_oe property

public Vector2 Position
Résultat Vector2

Rotation public_oe property

public float Rotation
Résultat float

RotationTarget public_oe property

public float RotationTarget
Résultat float

Target public_oe property

public Vector2 Target
Résultat Vector2

Width public_oe property

public int Width
Résultat int

Zoom public_oe property

public float Zoom
Résultat float