Uses of Class
com.prineside.tdi2.scene2d.Actor
Packages that use Actor
Package
Description
The game itself.
-
Uses of Actor in com.prineside.tdi2
Methods in com.prineside.tdi2 that return ActorModifier and TypeMethodDescriptionMiner.Factory.createIconActor
(float size) Modifier.Factory.createIconActor
(float size) Tower.Factory.createIconActor
(float size) abstract Actor
Gate.generateIcon
(float size, boolean detailed) abstract Actor
Item.generateIcon
(float size, boolean withShadow) -
Uses of Actor in com.prineside.tdi2.gates
Methods in com.prineside.tdi2.gates that return ActorModifier and TypeMethodDescriptionBarrierHealthGate.generateIcon
(float size, boolean detailed) BarrierTypeGate.generateIcon
(float size, boolean withShadow) TeleportGate.generateIcon
(float size, boolean detailed) -
Uses of Actor in com.prineside.tdi2.items
Methods in com.prineside.tdi2.items that return ActorModifier and TypeMethodDescriptionAbilityItem.generateIcon
(float size, boolean withShadow) AbilityTokenItem.generateIcon
(float size, boolean withShadow) AcceleratorItem.generateIcon
(float size, boolean withShadow) BitDustItem.generateIcon
(float size, boolean withShadow) BlueprintItem.generateIcon
(float size, boolean withShadow) CaseItem.generateIcon
(float size, boolean withShadow) CaseKeyItem.generateIcon
(float size, boolean withShadow) DatPaperItem.generateIcon
(float size, boolean withShadow) DoubleGainShardItem.generateIcon
(float size, boolean withShadow) GameValueGlobalItem.generateIcon
(float size, boolean withShadow) GameValueLevelItem.generateIcon
(float size, boolean withShadow) GateItem.generateIcon
(float size, boolean withShadow) GreenPaperItem.generateIcon
(float size, boolean withShadow) LootBoostItem.generateIcon
(float size, boolean withShadow) LuckyShotTokenItem.generateIcon
(float size, boolean withShadow) OpenedResearchItem.generateIcon
(float size, boolean withShadow) PrestigeDustItem.generateIcon
(float size, boolean withShadow) PrestigeTokenItem.generateIcon
(float size, boolean withShadow) RandomBarrierItem.generateIcon
(float size, boolean withShadow) RandomTeleportItem.generateIcon
(float size, boolean withShadow) RandomTileItem.generateIcon
(float size, boolean withShadow) RarityBoostItem.generateIcon
(float size, boolean withShadow) ResearchTokenItem.generateIcon
(float size, boolean withShadow) ResearchTokenUsedItem.generateIcon
(float size, boolean withShadow) ResourceItem.generateIcon
(float size, boolean withShadow) SkillPointItem.generateIcon
(float size, boolean withShadow) StarItem.generateIcon
(float size, boolean withShadow) TileItem.generateIcon
(float size, boolean withShadow) TrophyItem.generateIcon
(float size, boolean withShadow) -
Uses of Actor in com.prineside.tdi2.managers
Fields in com.prineside.tdi2.managers declared as ActorMethods in com.prineside.tdi2.managers that return ActorMethods in com.prineside.tdi2.managers with parameters of type ActorModifier and TypeMethodDescriptionUiManager.addHighlight
(Actor forActor) void
CursorGraphicsManager.CustomCursorActorListener.enter
(InputEvent event, float x, float y, int pointer, Actor fromActor) void
CursorGraphicsManager.CustomCursorActorListener.exit
(InputEvent event, float x, float y, int pointer, Actor toActor) UiManager.getActorLayer
(Actor actor) void
CursorGraphicsManager.setActorCustomMouseCursor
(Actor actor, Cursor.SystemCursor cursor) void
CursorGraphicsManager.setActorCustomMouseCursorConditional
(Actor actor, ObjectSupplier<Cursor.SystemCursor> cursorSupplier) -
Uses of Actor in com.prineside.tdi2.scene2d
Subclasses of Actor in com.prineside.tdi2.scene2dMethods in com.prineside.tdi2.scene2d with type parameters of type ActorModifier and TypeMethodDescription<T extends Actor>
TReturns the first actor found with the specified name.<T extends Actor>
TActor.firstAscendant
(Class<T> type) Returns this actor or the first ascendant of this actor that is assignable with the specified type, or null if none were found.Methods in com.prineside.tdi2.scene2d that return ActorModifier and TypeMethodDescriptionActor.debug()
CallssetDebug(boolean)
withtrue
.Action.getActor()
Group.getChild
(int index) Returns the child at the specified index.Stage.getKeyboardFocus()
Gets the actor that will receive key events.Event.getListenerActor()
Returns the actor that this listener is attached to.InputEvent.getRelatedActor()
The actor related to the event.Stage.getScrollFocus()
Gets the actor that will receive scroll events.Action.getTarget()
Event.getTarget()
Returns the actor that the event originated from.Actor.hit
(float x, float y, boolean touchable) Group.hit
(float x, float y, boolean touchable) Stage.hit
(float stageX, float stageY, boolean touchable) Returns theActor
at the specified location in stage coordinates.Group.removeActorAt
(int index, boolean unfocus) Removes an actor from this group.Methods in com.prineside.tdi2.scene2d that return types with arguments of type ActorModifier and TypeMethodDescriptionStage.getActors()
Returns the root's child actors.Group.getChildren()
Returns an ordered list of child actors in this group.Methods in com.prineside.tdi2.scene2d with parameters of type ActorModifier and TypeMethodDescriptionvoid
Adds an actor as a child of this group, removing it from its previous parent.void
Adds an actor to the root of the stage.void
Group.addActorAfter
(Actor actorAfter, Actor actor) Adds an actor as a child of this group immediately after another child actor, removing it from its previous parent.void
Group.addActorAt
(int index, Actor actor) Adds an actor as a child of this group at a specific index, removing it from its previous parent.void
Group.addActorBefore
(Actor actorBefore, Actor actor) Adds an actor as a child of this group immediately before another child actor, removing it from its previous parent.void
Stage.addTouchFocus
(EventListener listener, Actor listenerActor, Actor target, int pointer, int button) Adds the listener to be notified for all touchDragged and touchUp events for the specified pointer and button.void
Stage.cancelTouchFocus
(Actor listenerActor) Cancels touch focus for all listeners with the specified listener actor.void
Stage.cancelTouchFocusExcept
(EventListener exceptListener, Actor exceptActor) Cancels touch focus for all listeners except the specified listener.void
InputListener.enter
(InputEvent event, float x, float y, int pointer, Actor fromActor) Called any time the mouse cursor or a finger touch is moved over an actor.void
InputListener.exit
(InputEvent event, float x, float y, int pointer, Actor toActor) Called any time the mouse cursor or a finger touch is moved out of an actor.boolean
Actor.isAscendantOf
(Actor actor) Returns true if this actor is the same as or is the ascendant of the specified actor.boolean
Actor.isDescendantOf
(Actor actor) Returns true if this actor is the same as or is the descendant of the specified actor.Actor.localToActorCoordinates
(Actor actor, Vector2 localCoords) Converts coordinates for this actor to those of another actor, which can be anywhere in the stage.Actor.localToAscendantCoordinates
(Actor ascendant, Vector2 localCoords) Converts coordinates for this actor to those of an ascendant.Group.localToDescendantCoordinates
(Actor descendant, Vector2 localCoords) Converts coordinates for this group to those of a descendant actor.boolean
Group.removeActor
(Actor actor) Removes an actor from this group and unfocuses it.boolean
Group.removeActor
(Actor actor, boolean unfocus) Removes an actor from this group.void
Stage.removeTouchFocus
(EventListener listener, Actor listenerActor, Actor target, int pointer, int button) Removes touch focus for the specified listener, pointer, and button.void
Sets the actor this action is attached to.boolean
Stage.setKeyboardFocus
(Actor actor) Sets the actor that will receive key events.void
Event.setListenerActor
(Actor listenerActor) void
InputEvent.setRelatedActor
(Actor relatedActor) boolean
Stage.setScrollFocus
(Actor actor) Sets the actor that will receive scroll events.void
Sets the actor this action will manipulate.void
boolean
Swaps two actors.InputEvent.toCoordinates
(Actor actor, Vector2 actorCoords) Sets actorCoords to this event's coordinates relative to the specified actor.void
Removes the touch, keyboard, and scroll focus for the specified actor and any descendants. -
Uses of Actor in com.prineside.tdi2.scene2d.actions
Methods in com.prineside.tdi2.scene2d.actions with parameters of type ActorModifier and TypeMethodDescriptionstatic AddAction
static AddListenerAction
Actions.addListener
(EventListener listener, boolean capture, Actor targetActor) static RemoveAction
Actions.removeAction
(Action action, Actor targetActor) static RemoveActorAction
Actions.removeActor
(Actor removeActor) static RemoveListenerAction
Actions.removeListener
(EventListener listener, boolean capture, Actor targetActor) void
void
void
void
void
void
static Action
Sets the target of an action and returns the action. -
Uses of Actor in com.prineside.tdi2.scene2d.ui
Classes in com.prineside.tdi2.scene2d.ui with type parameters of type ActorModifier and TypeClassDescriptionclass
A cell for aTable
.class
A group with a single child that sizes and positions the child using constraints.class
A listener that shows a tooltip actor when the mouse is over another actor.static class
ATree
node which has an actor and value.Subclasses of Actor in com.prineside.tdi2.scene2d.uiModifier and TypeClassDescriptionclass
class
A checkbox is a button that contains an image indicating the checked or unchecked state and a label.class
A group with a single child that sizes and positions the child using constraints.class
A group that lays out its children side by side horizontally, with optional wrapping.class
Displays aDrawable
, scaled various way within the widgets bounds.class
A button with a childImage
to display an image.class
class
List<T>
A list (aka list box) displays textual items and highlights the currently selected item.class
ParticleEffectActor holds anParticleEffect
to use in Scene2d applications.class
A progress bar is a widget that visually displays the progress of some activity or a value within given range.class
A group that scrolls a child actor using scrollbars and/or mouse or touch dragging.class
SelectBox<T>
A select box (aka a drop-down list) allows a user to choose one of a number of values from a list.static class
The scroll pane shown when a select box is open.class
A slider is a horizontal indicator that allows a user to set a value.class
A container that contains two widgets and is divided either horizontally or vertically.class
A stack is a container that sizes its children to its size and positions them at 0,0 on top of each other.class
A group that sizes and positions children using table constraints.class
A text input field with multiple lines.class
A button with a childLabel
to display text.class
A single-line text input field.class
class
An on-screen joystick.class
A tree widget where each node has an icon, actor, and child nodes.class
A group that lays out its children top to bottom vertically, with optional wrapping.class
AnActor
that participates in layout and provides a minimum, preferred, and maximum size.class
AGroup
that participates in layout and provides a minimum, preferred, and maximum size.Methods in com.prineside.tdi2.scene2d.ui with type parameters of type ActorModifier and TypeMethodDescriptionTable.add
(T actor) Adds a new cell to the table with the specified actor.Table.getCell
(T actor) Returns the cell for the specified actor in this table, or null.Cell.setActor
(A newActor) Sets the actor in this cell and adds the actor to the cell's table.Methods in com.prineside.tdi2.scene2d.ui that return ActorModifier and TypeMethodDescriptionScrollPane.getActor()
Returns the actor embedded in this scroll pane, or null.ScrollPane.getWidget()
Deprecated.Container.hit
(float x, float y, boolean touchable) ScrollPane.hit
(float x, float y, boolean touchable) Table.hit
(float x, float y, boolean touchable) Touchpad.hit
(float x, float y, boolean touchable) WidgetGroup.hit
(float x, float y, boolean touchable) If this method is overridden, the super method orWidgetGroup.validate()
should be called to ensure the widget group is laid out.Container.removeActorAt
(int index, boolean unfocus) ScrollPane.removeActorAt
(int index, boolean unfocus) SplitPane.removeActorAt
(int index, boolean unfocus) Table.removeActorAt
(int index, boolean unfocus) Methods in com.prineside.tdi2.scene2d.ui with parameters of type ActorModifier and TypeMethodDescriptionvoid
void
Deprecated.Container may have only a single child.void
Deprecated.ScrollPane may have only a single child.void
void
Container.addActorAfter
(Actor actorAfter, Actor actor) Deprecated.Container may have only a single child.void
ScrollPane.addActorAfter
(Actor actorAfter, Actor actor) Deprecated.ScrollPane may have only a single child.void
Container.addActorAt
(int index, Actor actor) Deprecated.Container may have only a single child.void
ScrollPane.addActorAt
(int index, Actor actor) Deprecated.ScrollPane may have only a single child.void
SplitPane.addActorAt
(int index, Actor actor) void
Container.addActorBefore
(Actor actorBefore, Actor actor) Deprecated.Container may have only a single child.void
ScrollPane.addActorBefore
(Actor actorBefore, Actor actor) Deprecated.ScrollPane may have only a single child.void
SplitPane.addActorBefore
(Actor actorBefore, Actor actor) void
Tooltip.enter
(InputEvent event, float x, float y, int pointer, Actor fromActor) void
Tooltip.exit
(InputEvent event, float x, float y, int pointer, Actor toActor) float
abstract float
static Value
Value.percentHeight
(float percent, Actor actor) Returns a value that is a percentage of the specified actor's height.static Value
Value.percentWidth
(float percent, Actor actor) Returns a value that is a percentage of the specified actor's width.boolean
Container.removeActor
(Actor actor) boolean
Container.removeActor
(Actor actor, boolean unfocus) boolean
ScrollPane.removeActor
(Actor actor) boolean
ScrollPane.removeActor
(Actor actor, boolean unfocus) boolean
SplitPane.removeActor
(Actor actor) boolean
SplitPane.removeActor
(Actor actor, boolean unfocus) boolean
Table.removeActor
(Actor actor) boolean
Table.removeActor
(Actor actor, boolean unfocus) void
Sets theActor
embedded in this scroll pane.void
SplitPane.setFirstWidget
(Actor widget) void
SplitPane.setSecondWidget
(Actor widget) void
Deprecated.Adds a new cell to the table with the specified actors in aStack
.Constructors in com.prineside.tdi2.scene2d.ui with parameters of type ActorModifierConstructorDescriptionButton
(Actor child, Button.ButtonStyle style) ScrollPane
(Actor actor) ScrollPane
(Actor actor, ScrollPane.ScrollPaneStyle style) SplitPane
(Actor firstWidget, Actor secondWidget, boolean vertical, SplitPane.SplitPaneStyle style) WidgetGroup
(Actor... actors) Creates a new widget group containing the specified actors. -
Uses of Actor in com.prineside.tdi2.scene2d.utils
Methods in com.prineside.tdi2.scene2d.utils that return ActorModifier and TypeMethodDescriptionDragAndDrop.Source.getActor()
DragAndDrop.Target.getActor()
DragAndDrop.getDragActor()
Returns the current drag actor, or null.DragAndDrop.Payload.getDragActor()
DragAndDrop.Payload.getInvalidDragActor()
FocusListener.FocusEvent.getRelatedActor()
The actor related to the event.ActorGestureListener.getTouchDownTarget()
DragAndDrop.Payload.getValidDragActor()
Methods in com.prineside.tdi2.scene2d.utils with parameters of type ActorModifier and TypeMethodDescriptionabstract void
ChangeListener.changed
(ChangeListener.ChangeEvent event, Actor actor) void
ClickListener.enter
(InputEvent event, float x, float y, int pointer, Actor fromActor) void
ClickListener.exit
(InputEvent event, float x, float y, int pointer, Actor toActor) boolean
Returns true if the specified position is over the specified actor or within the tap square.void
FocusListener.keyboardFocusChanged
(FocusListener.FocusEvent event, Actor actor, boolean focused) boolean
If true is returned, additional gestures will not be triggered.void
FocusListener.scrollFocusChanged
(FocusListener.FocusEvent event, Actor actor, boolean focused) void
void
DragAndDrop.Payload.setDragActor
(Actor dragActor) void
DragAndDrop.Payload.setInvalidDragActor
(Actor invalidDragActor) void
FocusListener.FocusEvent.setRelatedActor
(Actor relatedActor) void
DragAndDrop.Payload.setValidDragActor
(Actor validDragActor) Constructors in com.prineside.tdi2.scene2d.utils with parameters of type Actor -
Uses of Actor in com.prineside.tdi2.screens
Subclasses of Actor in com.prineside.tdi2.screens -
Uses of Actor in com.prineside.tdi2.ui.actors
Subclasses of Actor in com.prineside.tdi2.ui.actorsModifier and TypeClassDescriptionclass
class
class
class
class
class
Кнопка, содержащая - Изображение фона - Значок - Надпись Можно изменять цвет фона / значка с надписьюclass
class
final class
class
final class
class
class
class
class
class
class
A text label, with optional word wrapping.class
Кнопка, состоящая только из надписиclass
final class
class
class
class
class
class
Прозрачная кнопка с изображением.class
class
class
Deprecated, use Quad as a regular Drawable for an Imageclass
Label и QuadActor всегда занимают всю кнопку и по центруclass
static class
class
class
class
Позиция определяется точкой x, y Размеры не имеют значенияclass
class
Methods in com.prineside.tdi2.ui.actors that return ActorMethods in com.prineside.tdi2.ui.actors that return types with arguments of type ActorMethods in com.prineside.tdi2.ui.actors with parameters of type ActorModifier and TypeMethodDescriptionstatic Rectangle
Window.setContents
(Actor v) void
ItemCell.setIconAndCount
(Actor icon, float iconScale, int count) Constructors in com.prineside.tdi2.ui.actors with parameters of type Actor -
Uses of Actor in com.prineside.tdi2.ui.components
Subclasses of Actor in com.prineside.tdi2.ui.componentsModifier and TypeClassDescriptionfinal class
class
static class
class
class
class
class
final class
final class
Fields in com.prineside.tdi2.ui.components declared as ActorMethods in com.prineside.tdi2.ui.components with parameters of type ActorModifier and TypeMethodDescriptionvoid
FlyingItemsOverlay.add
(float stageX, float stageY, Actor icon, int count, int flyAlign, float scale, float durationMultiplier) void
UiElementsEmphasizer.show
(Actor actor, Rectangle position, String title, String description, Runnable onDone) Constructors in com.prineside.tdi2.ui.components with parameters of type Actor -
Uses of Actor in com.prineside.tdi2.ui.events
Methods in com.prineside.tdi2.ui.events with parameters of type ActorModifier and TypeMethodDescriptionabstract void
MoveToFrontListener.actorMovedToFront
(MoveToFrontListener.MoveToFrontEvent event, Actor actor, boolean isOnFront) -
Uses of Actor in com.prineside.tdi2.utils
Methods in com.prineside.tdi2.utils with parameters of type ActorModifier and TypeMethodDescriptionstatic void
UiUtils.bouncyHideOverlay
(Actor overlayTable, Actor mainTable, Group container) static void
UiUtils.bouncyHideOverlayWithCallback
(Actor overlayTable, Actor mainTable, Group container, Runnable cb) static void
UiUtils.bouncyShowOverlay
(Actor overlayTable, Actor mainTable, Group container) static void
UiUtils.bouncyShowOverlayWithCallback
(Actor overlayTable, Actor mainTable, Group container, Runnable cb) static void
UiUtils.bringToFront
(Actor actor) Bring actor to the top by moving it to the end in its parent's children list.static void
UiUtils.finishActions
(Actor actor, float maxDuration) static StringBuilder
UiUtils.getFullPathToStage
(Actor actor) static boolean
static boolean
UiUtils.isVisibleRecursive
(Actor actor)
ScrollPane.getActor()
.