Contents
Class AnnotatedComponentBase
java.lang.Object
com.hypixel.hytale.server.npc.corecomponents.AnnotatedComponentBase
- All Implemented Interfaces:
IAnnotatedComponent
- Direct Known Subclasses:
ActionBase, EntityFilterBase, MotionBase, SensorBase, WeightedAction
Created on 25/08/2020
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetIndex()voidgetInfo(ExecutionSupport executionSupport, ComponentInfo holder) Populates the ComponentInfo holder with any relevant information relating to this particular componentvoidsetContext(IAnnotatedComponent parent, int index) Methods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface IAnnotatedComponent
getBreadCrumbs, getBreadCrumbs, getLabel
-
Constructor Details
-
AnnotatedComponentBase
public AnnotatedComponentBase()
-
-
Method Details
-
getInfo
Description copied from interface:IAnnotatedComponentPopulates the ComponentInfo holder with any relevant information relating to this particular component- Specified by:
getInfoin interfaceIAnnotatedComponent- Parameters:
executionSupport- per-execution contextholder- the ComponentInfo instance to populate
-
setContext
- Specified by:
setContextin interfaceIAnnotatedComponent
-
getParent
- Specified by:
getParentin interfaceIAnnotatedComponent
-
getIndex
public int getIndex()- Specified by:
getIndexin interfaceIAnnotatedComponent
-