Class AnnotatedComponentBase
java.lang.Object
com.hypixel.hytale.server.npc.corecomponents.AnnotatedComponentBase
- All Implemented Interfaces:
IAnnotatedComponent
- Direct Known Subclasses:
ActionBase,EntityFilterBase,MotionBase,SensorBase,WeightedAction
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetIndex()voidgetInfo(Role role, ComponentInfo holder) voidsetContext(IAnnotatedComponent parent, int index) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.hypixel.hytale.server.npc.util.IAnnotatedComponent
getBreadCrumbs, getBreadCrumbs, getLabel
-
Field Details
-
parent
-
index
protected int index
-
-
Constructor Details
-
AnnotatedComponentBase
public AnnotatedComponentBase()
-
-
Method Details
-
getInfo
- Specified by:
getInfoin interfaceIAnnotatedComponent
-
setContext
- Specified by:
setContextin interfaceIAnnotatedComponent
-
getParent
- Specified by:
getParentin interfaceIAnnotatedComponent
-
getIndex
public int getIndex()- Specified by:
getIndexin interfaceIAnnotatedComponent
-