Initial work on greeting/farewall title support for areas
This commit is contained in:
parent
2be20f4c78
commit
14f55bd6a8
14 changed files with 269 additions and 19 deletions
|
|
@ -0,0 +1,28 @@
|
|||
package org.dynmap.markers;
|
||||
|
||||
public interface EnterExitMarker {
|
||||
public static class EnterExitText {
|
||||
public String title;
|
||||
public String subtitle;
|
||||
};
|
||||
/**
|
||||
* Greeting text, if defined
|
||||
*/
|
||||
public EnterExitText getGreetingText();
|
||||
/**
|
||||
* Farewell text, if defined
|
||||
*/
|
||||
public EnterExitText getFarewellText();
|
||||
/**
|
||||
* Set greeting text
|
||||
*/
|
||||
public void setGreetingText(String title, String subtitle);
|
||||
/**
|
||||
* Set greeting text
|
||||
*/
|
||||
public void setFarewellText(String title, String subtitle);
|
||||
/**
|
||||
* Test if point is inside marker volume
|
||||
*/
|
||||
public boolean testIfPointWithinMarker(String worldid, double x, double y, double z);
|
||||
};
|
||||
|
|
@ -256,4 +256,8 @@ public interface MarkerSet {
|
|||
* @return default marker
|
||||
*/
|
||||
public MarkerIcon getDefaultMarkerIcon();
|
||||
/**
|
||||
* Add entered markers to set based on given coordinates
|
||||
*/
|
||||
public void addEnteredMarkers(Set<EnterExitMarker> entered, String worldid, double x, double y, double z);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue