Interface WorldManagerInterceptor
-
public interface WorldManagerInterceptorWorld 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 voidadd(AbstractCompositeEntity compositeEntity)Interceptor callbackUUIDgetId()UUID to identify an interceptor.voidmove(AbstractCompositeEntity compositeEntity)Interceptor callbackvoidremove(AbstractCompositeEntity compositeEntity)Interceptor callbackvoidupdate(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
-
-