Package com.prineside.tdi2.ui.shared
Class Notifications
java.lang.Object
com.badlogic.gdx.scenes.scene2d.Actor
com.badlogic.gdx.scenes.scene2d.Group
com.prineside.tdi2.ui.shared.Notifications
- All Implemented Interfaces:
com.badlogic.gdx.scenes.scene2d.utils.Cullable
public class Notifications
extends com.badlogic.gdx.scenes.scene2d.Group
Уведомление плавно выезжает сверху и становится непрозрачным
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionadd
(CharSequence message, com.badlogic.gdx.scenes.scene2d.utils.Drawable icon, com.badlogic.gdx.graphics.Color backgroundColor, StaticSoundType staticSoundType) Methods inherited from class com.badlogic.gdx.scenes.scene2d.Group
act, addActor, addActorAfter, addActorAt, addActorBefore, clear, clear, clearChildren, clearChildren, debugAll, draw, drawDebug, findActor, getChild, getChildren, getCullingArea, hasChildren, hit, isTransform, localToDescendantCoordinates, removeActor, removeActor, removeActorAt, setCullingArea, setDebug, setTransform, swapActor, swapActor, toString
Methods inherited from class com.badlogic.gdx.scenes.scene2d.Actor
addAction, addCaptureListener, addListener, ancestorsVisible, ascendantsVisible, clearActions, clearListeners, clipBegin, clipBegin, clipEnd, debug, fire, firstAscendant, getActions, getCaptureListeners, getColor, getDebug, getHeight, getListeners, getName, getOriginX, getOriginY, getParent, getRight, getRotation, getScaleX, getScaleY, getStage, getTop, getTouchable, getUserObject, getWidth, getX, getX, getY, getY, getZIndex, hasActions, hasKeyboardFocus, hasParent, hasScrollFocus, isAscendantOf, isDescendantOf, isTouchable, isTouchFocusListener, isTouchFocusTarget, isVisible, localToActorCoordinates, localToAscendantCoordinates, localToParentCoordinates, localToScreenCoordinates, localToStageCoordinates, moveBy, notify, parentToLocalCoordinates, remove, removeAction, removeCaptureListener, removeListener, rotateBy, scaleBy, scaleBy, screenToLocalCoordinates, setBounds, setColor, setColor, setDebug, setHeight, setName, setOrigin, setOrigin, setOriginX, setOriginY, setPosition, setPosition, setRotation, setScale, setScale, setScaleX, setScaleY, setSize, setTouchable, setUserObject, setVisible, setWidth, setX, setX, setY, setY, setZIndex, sizeBy, sizeBy, stageToLocalCoordinates, toBack, toFront
-
Field Details
-
DEFAULT_SHOW_DURATION
public static final float DEFAULT_SHOW_DURATION- See Also:
-
-
Constructor Details
-
Notifications
public Notifications()
-
-
Method Details
-
add
public Notifications.Notification add(CharSequence message, com.badlogic.gdx.scenes.scene2d.utils.Drawable icon, com.badlogic.gdx.graphics.Color backgroundColor, StaticSoundType staticSoundType) - Parameters:
backgroundColor
- может быть null
-