public class EntityCreatorGUI extends java.lang.Object implements ModifiableXandYFields
Modifier and Type | Field and Description |
---|---|
Entity |
entity
The entity.
|
java.util.ArrayList<javax.swing.JFrame> |
relatedFrames
The related frames.
|
Constructor and Description |
---|
EntityCreatorGUI(Entity entity,
EntityManagerGUI mainGUI)
Instantiates a new entity creator gui.
|
Modifier and Type | Method and Description |
---|---|
void |
updateLensList()
Update lens list.
|
void |
updateList(EntityAttribute attribute)
Update list.
|
void |
updateXandYFields(float xOnMap,
float yOnMap)
Update xand y fields.
|
public Entity entity
public java.util.ArrayList<javax.swing.JFrame> relatedFrames
public EntityCreatorGUI(Entity entity, EntityManagerGUI mainGUI)
entity
- the entitymainGUI
- the main guipublic void updateLensList()
public void updateList(EntityAttribute attribute)
attribute
- the attributepublic void updateXandYFields(float xOnMap, float yOnMap)
ModifiableXandYFields
updateXandYFields
in interface ModifiableXandYFields
xOnMap
- the x on mapyOnMap
- the y on map