An actor has a list of in-progress actions
that are applied to the actor (over time). These are generally used to change the presentation of the actor (moving it, resizing it, etc). See act(float)
and Action
.
An actor has two kinds of listeners associated with it: "capture" and regular. The listeners are notified of events the actor or its children receive. The capture listeners are designed to allow a parent or container actor to hide events from child actors. The regular listeners are designed to allow an actor to respond to events that have been delivered. See fire(com.badlogic.gdx.scenes.scene2d.Event)
for more details.
An InputListener
can receive all the basic input events, and more complex listeners (like ClickListener
and ActorGestureListener
) can listen for and combine primitive events and recognize complex interactions like multi-click or pinch.
Author:
mzechner, Nathan Sweet
字段摘要 | |
---|---|
String |
color
|
String |
height
|
String |
name
|
String |
originX
|
String |
originY
|
String |
rotation
|
String |
scale
|
String |
scaleX
|
String |
scaleY
|
String |
touchable
|
String |
visible
|
String |
width
|
String |
x
|
String |
y
|
String |
z-index
|
方法摘要 |
---|
子事物摘要 | |
---|---|
|
actions
|
字段详细信息 |
---|
方法详细信息 |
---|
子事物详细信息 |
---|