|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.badlogic.gdx.scenes.scene2d.Actor
com.TeamHEC.LocomotionCommotion.MapActors.Game_Map_Train
public class Game_Map_Train
Field Summary | |
---|---|
boolean |
canMove
|
int |
moveCounter
|
Constructor Summary | |
---|---|
Game_Map_Train()
|
Method Summary | |
---|---|
void |
act(float delta)
|
void |
clickedTrain()
deals with being able to select a station under a train |
void |
createBlip(Train train)
Creates the map blip for a train |
void |
draw(com.badlogic.gdx.graphics.g2d.Batch batch,
float alpha)
|
void |
toggleHighlight(boolean highlighted)
toggles the texture when a train is highlighted. |
Methods inherited from class com.badlogic.gdx.scenes.scene2d.Actor |
---|
addAction, addCaptureListener, addListener, clear, clearActions, clearListeners, clipBegin, clipBegin, clipEnd, debug, drawDebug, 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, hasParent, hit, isAscendantOf, isDescendantOf, isTouchable, isVisible, localToAscendantCoordinates, localToParentCoordinates, 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, setY, setZIndex, sizeBy, sizeBy, stageToLocalCoordinates, toBack, toFront, toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public boolean canMove
public int moveCounter
Constructor Detail |
---|
public Game_Map_Train()
Method Detail |
---|
public void createBlip(Train train)
train
- public void clickedTrain()
public void toggleHighlight(boolean highlighted)
highlighted
- public void act(float delta)
act
in class com.badlogic.gdx.scenes.scene2d.Actor
public void draw(com.badlogic.gdx.graphics.g2d.Batch batch, float alpha)
draw
in class com.badlogic.gdx.scenes.scene2d.Actor
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |