public class Portal extends DialogMob
BaseMob.Direction
Constructor and Description |
---|
Portal()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected void |
animateWalking()
Stub.
|
protected void |
doAct()
Stub.
|
protected Handler<Void> |
getDialogDoneAction()
Method to get the
Handler that is run after the dialog is done. |
protected List<Message> |
getDialogMessages()
Method to get a
DialogMob 's dialog strings. |
protected int |
maxHealth()
Stub.
|
protected boolean |
shouldStartConversation()
Method to determine if the mob should start a conversation.
|
protected void |
updateWalkingStateNotTalking()
Stub.
|
protected void |
walk()
Stub.
|
getDialog, isTalking, setTalking, updateWalkingState
act, canWalk, getHealth, orientMob, setHealth
addedToWorld, getImage, getIntersectingObjects, getNeighbours, getObjectsAtOffset, getObjectsInRange, getOneIntersectingObject, getOneObjectAtOffset, getRotation, getWorld, getWorldOfType, getX, getY, intersects, isAtEdge, isTouching, move, removeTouching, setImage, setImage, setLocation, setRotation, turn, turnTowards
protected List<Message> getDialogMessages()
DialogMob
's dialog strings..getDialogMessages
in class DialogMob
protected Handler<Void> getDialogDoneAction()
Handler
that is run after the dialog is done..getDialogDoneAction
in class DialogMob
protected boolean shouldStartConversation()
shouldStartConversation
in class DialogMob
protected int maxHealth()
maxHealth
in class BaseMob
Integer.MAX_VALUE
protected void updateWalkingStateNotTalking()
updateWalkingStateNotTalking
in class DialogMob
DialogMob.updateWalkingState()
protected void animateWalking()
animateWalking
in class BaseMob
Copyright © 2019. All rights reserved.