public class EntityItem
extends java.lang.Object
Constructor and Description |
---|
EntityItem(IStage stage,
java.lang.String name,
java.util.ArrayList<IItem> items,
java.util.ArrayList<IItem> userGeneratedItems,
MuseumApp app)
Instantiates a new entity item.
|
Modifier and Type | Method and Description |
---|---|
void |
addUserRecordingPromptLabel(UserRecordingPromptLabel userRecordingPromptLabel)
Adds the user recording prompt label.
|
ITextbox |
getCentralItem()
Gets the central item.
|
boolean |
isVisible()
Checks if is visible.
|
void |
regenerate(float x,
float y)
Regenerate.
|
void |
setLineFromPOI(ILine lineFromPOI)
Sets the line from poi.
|
void |
setUserRecordingPromptLabelVisibility(boolean visibility)
Sets the user recording prompt label visibility.
|
void |
setVisible(boolean isVisible)
Sets the visible.
|
public EntityItem(IStage stage, java.lang.String name, java.util.ArrayList<IItem> items, java.util.ArrayList<IItem> userGeneratedItems, MuseumApp app)
stage
- the stagename
- the nameitems
- the itemsuserGeneratedItems
- the user generated itemsapp
- the apppublic void addUserRecordingPromptLabel(UserRecordingPromptLabel userRecordingPromptLabel)
userRecordingPromptLabel
- the user recording prompt labelpublic ITextbox getCentralItem()
public boolean isVisible()
public void regenerate(float x, float y)
x
- the xy
- the ypublic void setLineFromPOI(ILine lineFromPOI)
lineFromPOI
- the new line from poipublic void setUserRecordingPromptLabelVisibility(boolean visibility)
visibility
- the new user recording prompt label visibilitypublic void setVisible(boolean isVisible)
isVisible
- the new visible