Known Direct Subclasses
| ZoomCamera |
(c) 2010 Nicolas Gramlich
(c) 2011 Zynga Inc. |
|
Known Indirect Subclasses
|
Class Overview
(c) 2010 Nicolas Gramlich
(c) 2011 Zynga Inc.
Summary
| Public Constructors |
|
|
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)
|
Fields
protected
boolean
mBoundsEnabled
Public Constructors
public
BoundCamera
(float pX, float pY, float pWidth, float pHeight)
public
BoundCamera
(float pX, float pY, float pWidth, float pHeight, float pBoundMinX, float pBoundMaxX, float pBoundMinY, float pBoundMaxY)
Public Methods
public
float
getBoundsHeight
()
public
float
getBoundsWidth
()
public
boolean
isBoundsEnabled
()
public
void
setBounds
(float pBoundMinX, float pBoundMaxX, float pBoundMinY, float pBoundMaxY)
public
void
setBoundsEnabled
(boolean pBoundsEnabled)
public
void
setCenter
(float pCenterX, float pCenterY)
Protected Methods
protected
void
ensureInBounds
()