gdl.scene2d.actor
Actor
protocol
members
add-listener!
(add-listener! _ listener)
Add a listener to receive events that hit this actor.
add-tooltip!
(add-tooltip! _ tooltip-text)
tooltip-text is a (fn [context] )
get-x
(get-x _)
get-y
(get-y _)
height
(height _)
id
(id _)
name
(name _)
parent
(parent _)
Returns the parent actor, or null if not in a group.
remove!
(remove! _)
Removes this actor from its parent, if it has a parent.
remove-tooltip!
(remove-tooltip! _)
set-center!
(set-center! _ x y)
set-height!
(set-height! _ height)
set-id!
(set-id! _ id)
set-name!
(set-name! _ name)
set-position!
(set-position! _ x y)
set-touchable!
(set-touchable! _ touchable)
:children-only, :disabled or :enabled.
set-visible!
(set-visible! _ bool)
set-width!
(set-width! _ width)
toggle-visible!
(toggle-visible! _)
visible?
(visible? _)
width
(width _)