Interface Identifiable
-
- All Known Implementing Classes:
BoundaryObject,Character,Entity,FloorDecoration,GameObject,GrandExchangeItem,GroundItem,Item,NPC,Player,SceneObject,WallObject
public interface IdentifiableCreated with IntelliJ IDEA. User: NotoriousPP Date: 7/29/2014 Time: 12:31 PM
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description intgetId()Gets ID number of the given object.default intgetID()Deprecated.seegetId()java.lang.StringgetName()Gets the name of the given object.
-
-
-
Method Detail
-
getId
int getId()
Gets ID number of the given object.- Returns:
- the ID number as integer.
-
getID
@Deprecated default int getID()
Deprecated.seegetId()
-
getName
java.lang.String getName()
Gets the name of the given object.- Returns:
- the name as a string.
-
-