Interface ContextHolder
- All Known Implementing Classes:
BattleController,BattleParticipant,EntityParticipant,LogBattleParticipant,PlayerParticipant,RaidPixelmonParticipant,TestParticipant,WildPixelmonParticipant
public interface ContextHolder
-
Method Summary
Modifier and TypeMethodDescriptiondefault <T> Tget(ContextKey<T> key) default <T> TgetOrDefault(ContextKey<T> key, T defaultValue) default <T> voidset(ContextKey<T> key, T value) default <T> voidupdate(ContextKey<T> key, UnaryOperator<T> operator)
-
Method Details
-
get
-
getOrDefault
-
set
-
update
-
getContext
StoredContext getContext()
-