Interface ContextHolder
- All Known Subinterfaces:
ActiveBattleAnimation,BattleController,BattleMessaging,BattleRandomContext,BattleSimulationContext,BattleStateView
- All Known Implementing Classes:
AttackAnimation,BattleAnimationInstance,BattleAnimationTimeline,BattleParticipant,ClientBattleAnimationInstance,ContextualBattleAnimationInstance,DelayedActiveBattleAnimation,EntityParticipant,LogBattleParticipant,MultiLaneBattleController,PlayerParticipant,ProxyBattleParticipant,RaidBossPixelmonParticipant,StandardBattleController,TestParticipant,WildPixelmonParticipant
public interface ContextHolder
-
Method Summary
Modifier and TypeMethodDescriptiondefault <T> Tget(ContextKey<T> key) default <T> TgetOrDefault(ContextKey<T> key, T defaultValue) default booleanhas(ContextKey<?> key) default voidremove(ContextKey<?> key) default <T> voidset(ContextKey<T> key, T value) default <T> voidupdate(ContextKey<T> key, UnaryOperator<T> operator)
-
Method Details
-
get
-
getOrDefault
-
set
-
update
-
has
-
remove
-
getContext
StoredContext getContext()
-