C# Class andengine.engine.camera.BoundCamera

Inheritance: Camera
Show file Open project: jamesburton/AndEngine.net

Protected Properties

Property Type Description
mBoundsEnabled bool

Public Methods

Method Description
BoundCamera ( float pX, float pY, float pWidth, float pHeight )
BoundCamera ( float pX, float pY, float pWidth, float pHeight, float pBoundMinX, float pBoundMaxX, float pBoundMinY, float pBoundMaxY )
GetBoundsHeight ( ) : float
GetBoundsWidth ( ) : float
IsBoundsEnabled ( ) : bool
SetBounds ( float pBoundMinX, float pBoundMaxX, float pBoundMinY, float pBoundMaxY ) : void
SetBoundsEnabled ( bool pBoundsEnabled ) : void
SetCenter ( float pCenterX, float pCenterY ) : void

Protected Methods

Method Description
EnsureInBounds ( ) : void

Private Methods

Method Description
DetermineBoundedX ( ) : float
DetermineBoundedY ( ) : float

Method Details

BoundCamera() public method

public BoundCamera ( float pX, float pY, float pWidth, float pHeight )
pX float
pY float
pWidth float
pHeight float

BoundCamera() public method

public BoundCamera ( float pX, float pY, float pWidth, float pHeight, float pBoundMinX, float pBoundMaxX, float pBoundMinY, float pBoundMaxY )
pX float
pY float
pWidth float
pHeight float
pBoundMinX float
pBoundMaxX float
pBoundMinY float
pBoundMaxY float

EnsureInBounds() protected method

protected EnsureInBounds ( ) : void
return void

GetBoundsHeight() public method

public GetBoundsHeight ( ) : float
return float

GetBoundsWidth() public method

public GetBoundsWidth ( ) : float
return float

IsBoundsEnabled() public method

public IsBoundsEnabled ( ) : bool
return bool

SetBounds() public method

public SetBounds ( float pBoundMinX, float pBoundMaxX, float pBoundMinY, float pBoundMaxY ) : void
pBoundMinX float
pBoundMaxX float
pBoundMinY float
pBoundMaxY float
return void

SetBoundsEnabled() public method

public SetBoundsEnabled ( bool pBoundsEnabled ) : void
pBoundsEnabled bool
return void

SetCenter() public method

public SetCenter ( float pCenterX, float pCenterY ) : void
pCenterX float
pCenterY float
return void

Property Details

mBoundsEnabled protected property

protected bool mBoundsEnabled
return bool