Package net.storm.api.domain
Interface Nameable
- All Known Subinterfaces:
IActor,IBankInventoryItem,IBankItem,IDecorativeObject,IGameObject,IGroundObject,IInventoryItem,IItem,INPC,IPlayer,ITileItem,ITileObject,IWallObject,SceneEntity,TileEntity
public interface Nameable
Represents an entity that has a display name.
Names are used to identify entities in a human-readable way. Names may contain color tags or other formatting that should be stripped when comparing.
- See Also:
-
Method Summary
-
Method Details
-
getName
Gets the display name of this entity.The name is retrieved from the entity's definition (composition). For NPCs and objects, this is the name shown when examining or interacting with them.
- Returns:
- the entity name, or null if no name is defined
-