Square telegraph

This commit is contained in:
Vidal committed 2026-03-09 18:44:15 -03:00
1 parent 319e774518
commit 88c90ef0e4
2 files changed
+5 -2

No files matched your search

+3 -2
View File
@@ -20,6 +20,7 @@ import noppes.npcs.api.entity.IEntity;
* <li>RING - A ring with inner and outer radius</li>
* <li>LINE - A rectangular line in a direction</li>
* <li>CONE - A cone/arc shape</li>
* <li>SQUARE - A square shape</li>
* <li>POINT - A small point marker</li>
* </ul>
*/
@@ -48,13 +49,13 @@ public interface ITelegraph {
// ==========================================================================
/**
* Get the radius (for CIRCLE and RING types).
* Get the radius (for CIRCLE, SQUARE and RING types).
* @return the circle/ring radius in blocks
*/
float getRadius();
/**
* Set the radius (for CIRCLE and RING types).
* Set the radius (for CIRCLE, SQUARE and RING types).
* @param radius circle/ring radius in blocks
*/
void setRadius(float radius);
@@ -68,6 +68,8 @@ public interface ITelegraphHandler {
*/
ITelegraph createCone(float length, float angle);
ITelegraph createSquare(float radius);
/**
* Create a point telegraph.
*