public class Controls
extends com.badlogic.gdx.scenes.scene2d.Actor
| Constructor and Description |
|---|
Controls(com.badlogic.gdx.assets.AssetManager assets,
Player player) |
| Modifier and Type | Method and Description |
|---|---|
void |
dispose() |
void |
draw(com.badlogic.gdx.graphics.g2d.Batch batch,
float parentAlpha) |
com.badlogic.gdx.scenes.scene2d.Actor |
hit(float x,
float y,
boolean touchable) |
act, addAction, addCaptureListener, addListener, clear, clearActions, clearListeners, clipBegin, clipBegin, clipEnd, debug, drawDebug, drawDebugBounds, fire, 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, hasParent, isAscendantOf, isDescendantOf, isTouchable, isVisible, localToAscendantCoordinates, localToParentCoordinates, localToStageCoordinates, moveBy, notify, parentToLocalCoordinates, positionChanged, remove, removeAction, removeCaptureListener, removeListener, rotateBy, rotationChanged, scaleBy, scaleBy, screenToLocalCoordinates, setBounds, setColor, setColor, setDebug, setHeight, setName, setOrigin, setOrigin, setOriginX, setOriginY, setParent, setPosition, setPosition, setRotation, setScale, setScale, setScaleX, setScaleY, setSize, setStage, setTouchable, setUserObject, setVisible, setWidth, setX, setY, setZIndex, sizeBy, sizeBy, sizeChanged, stageToLocalCoordinates, toBack, toFront, toStringpublic Controls(com.badlogic.gdx.assets.AssetManager assets,
Player player)
public com.badlogic.gdx.scenes.scene2d.Actor hit(float x,
float y,
boolean touchable)
hit in class com.badlogic.gdx.scenes.scene2d.Actorpublic void draw(com.badlogic.gdx.graphics.g2d.Batch batch,
float parentAlpha)
draw in class com.badlogic.gdx.scenes.scene2d.Actorpublic void dispose()