org.andengine.entity.IEntity |
Known Indirect Subclasses |
(c) 2010 Nicolas Gramlich (c) 2011 Zynga Inc.
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. | |||||||||||
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From interface
org.andengine.engine.handler.IDrawHandler
| |||||||||||
From interface
org.andengine.engine.handler.IUpdateHandler
| |||||||||||
From interface
org.andengine.util.IDisposable
|
pCoordinates | must be of length 2. |
---|---|
pReuse | must be of length 2. |
pReuse
as a convenience.
pCoordinates | must be of length 2. |
---|
pReuse | must be of length 2. |
---|
pReuse
as a convenience.
pCoordinates | must be of length 2. |
---|
pReuse | must be of length 2. |
---|
pReuse
as a convenience.
pCoordinates | must be of length 2. |
---|---|
pReuse | must be of length 2. |
pReuse
as a convenience.
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.
pResult | the List to put the result into. |
---|
IEntityMatcher
.
IEntityMatcher
.
pResult | the List to put the result into. |
---|
IEntityMatcher
.ClassCastException | when the supplied IEntityMatcher matched a IEntity that was not of the requested subtype.
|
---|
IEntityMatcher
.ClassCastException | when the supplied IEntityMatcher matched a IEntity that was not of the requested subtype.
|
---|
Immediately sorts the IEntity
s based on their ZIndex. Sort is stable.
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 .
|
---|