java.lang.Object | |
↳ | org.andengine.entity.Entity |
Known Direct Subclasses
|
Known Indirect Subclasses |
(c) 2010 Nicolas Gramlich (c) 2011 Zynga Inc.
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
mChildren | |||||||||||
mChildrenIgnoreUpdate | |||||||||||
mChildrenSortPending | |||||||||||
mChildrenVisible | |||||||||||
mColor | |||||||||||
mCullingEnabled | |||||||||||
mDisposed | |||||||||||
mIgnoreUpdate | |||||||||||
mRotation | |||||||||||
mRotationCenterX | |||||||||||
mRotationCenterY | |||||||||||
mScaleCenterX | |||||||||||
mScaleCenterY | |||||||||||
mScaleX | |||||||||||
mScaleY | |||||||||||
mSkewCenterX | |||||||||||
mSkewCenterY | |||||||||||
mSkewX | |||||||||||
mSkewY | |||||||||||
mVisible | |||||||||||
mX | |||||||||||
mY | |||||||||||
mZIndex |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
WARNING: This function should be called from within
postRunnable(Runnable) which is registered
to a Scene or the Engine itself, because otherwise
it may throw an IndexOutOfBoundsException in the
Update-Thread or the GL-Thread!
| |||||||||||
WARNING: This function should be called from within
postRunnable(Runnable) which is registered
to a Scene or the Engine itself, because otherwise
it may throw an IndexOutOfBoundsException in the
Update-Thread or the GL-Thread!
| |||||||||||
WARNING: This function should be called from within
postRunnable(Runnable) which is registered
to a Scene or the Engine itself, because otherwise
it may throw an IndexOutOfBoundsException in the
Update-Thread or the GL-Thread!
| |||||||||||
Will only be performed if
isCullingEnabled() is true. | |||||||||||
Immediately sorts the
IEntity s based on their ZIndex. | |||||||||||
Sorts the
IEntity s based on the Comparator supplied. | |||||||||||
Sorts the
IEntity s based on their ZIndex. | |||||||||||
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
org.andengine.engine.handler.IDrawHandler
| |||||||||||
From interface
org.andengine.engine.handler.IUpdateHandler
| |||||||||||
From interface
org.andengine.entity.IEntity
| |||||||||||
From interface
org.andengine.util.IDisposable
|
WARNING: This function should be called from within
postRunnable(Runnable)
which is registered
to a Scene
or the Engine
itself, because otherwise
it may throw an IndexOutOfBoundsException in the
Update-Thread or the GL-Thread!
WARNING: This function should be called from within
postRunnable(Runnable)
which is registered
to a Scene
or the Engine
itself, because otherwise
it may throw an IndexOutOfBoundsException in the
Update-Thread or the GL-Thread!
WARNING: This function should be called from within
postRunnable(Runnable)
which is registered
to a Scene
or the Engine
itself, because otherwise
it may throw an IndexOutOfBoundsException in the
Update-Thread or the GL-Thread!
Will only be performed if isCullingEnabled()
is true.
pCamera | the currently active camera to perform culling checks against. |
---|
true
when this object is visible by the Camera
, false
otherwise.
pAlpha | from 0.0f (transparent) to 1.0f (opaque)
|
---|
pRed | from 0.0f to 1.0f |
---|---|
pGreen | from 0.0f to 1.0f |
pBlue | from 0.0f to 1.0f
|
pRed | from 0.0f to 1.0f |
---|---|
pGreen | from 0.0f to 1.0f |
pBlue | from 0.0f to 1.0f |
pAlpha | from 0.0f (transparent) to 1.0f (opaque)
|
Sorts the IEntity
s based on the Comparator supplied. Sort is stable.
Sorts the IEntity
s based on their ZIndex. Sort is stable.
In contrast to sortChildren()
this method is particularly useful to avoid multiple sorts per frame.
pImmediate | if true , the sorting is executed immediately.
If false the sorting is executed before the next (visible) drawing of the children of this IEntity .
|
---|