Skip to content

Package: IMemoryState

IMemoryState

Coverage

1: package de.fhdw.gaming.ipspiel23.memory;
2:
3: import de.fhdw.gaming.core.domain.Player;
4: import de.fhdw.gaming.core.domain.State;
5:
6: /**
7: * Represents a game state with support for memory management.
8: * <p>
9: * Provides access to the {@link IGameMemoryProvider} that is used to store and retrieve decisions and round data.
10: * </p>
11: *
12: * @param <P> The player type.
13: * @param <S> The state type.
14: * @param <ROUND_DATA> The round data type.
15: */
16: public interface IMemoryState<P extends Player<P>, S extends State<P, S>, ROUND_DATA> extends State<P, S> {
17:
18: /**
19: * Returns the {@link IGameMemoryProvider} to be used to store and retrieve decisions and round data.
20: */
21: IGameMemoryProvider getMemoryProvider();
22: }