Add removeLine() to Hologram interface

This commit is contained in:
filoghost 2014-12-23 11:16:44 +01:00
parent 9a3a44d0bf
commit 4afc0c3b71

View File

@ -65,6 +65,13 @@ public interface Hologram {
*/
public HologramLine getLine(int index);
/**
* Removes a line at a given index.
*
* @param index the index of the line, that should be between 0 and size() - 1.
*/
public void removeLine(int index);
/**
* Removes all the lines from this hologram.
@ -104,7 +111,7 @@ public interface Hologram {
*
* @return the Location of the hologram
*/
public Location getLocation();
public Location getLocation();
/**
* Returns the X coordinate.