Interface WorldManagerInterceptor
-
public interface WorldManagerInterceptor
World manager interceptors are notified about changes in the game world. Use rarely as this is performance sensitive
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
add(AbstractCompositeEntity compositeEntity)
Interceptor callbackUUID
getId()
UUID to identify an interceptor.void
move(AbstractCompositeEntity compositeEntity)
Interceptor callbackvoid
remove(AbstractCompositeEntity compositeEntity)
Interceptor callbackvoid
update(AbstractCompositeEntity compositeEntity)
Interceptor callback
-
-
-
Method Detail
-
getId
UUID getId()
UUID to identify an interceptor. You may generate an id using FastRandomUUID but keep it as a state
-
add
void add(AbstractCompositeEntity compositeEntity)
Interceptor callback
-
update
void update(AbstractCompositeEntity compositeEntity)
Interceptor callback
-
remove
void remove(AbstractCompositeEntity compositeEntity)
Interceptor callback
-
move
void move(AbstractCompositeEntity compositeEntity)
Interceptor callback
-
-