Class RecentKnowledge

  • All Implemented Interfaces:
    Serializable, Cloneable, Map<Integer,​RecentKnowledge.Datum>

    public class RecentKnowledge
    extends HashMap<Integer,​RecentKnowledge.Datum>
    An auxiliary data structure, used as an element of EpisodeInfo.ExtendedDisplay, used to sent to the GUI client, in a concise form, the info about the knowledge of the board acquired through the recent players' actions (those since the last board change, i.e the last successful move). This is used to make it easier for the client to display the feedback about the recent actions.

    Starting GS 8.0, the key normally is the piece ID, rather than position (as it was in 7.*); however, the backward-compatibility mode, with the position as the ID, also exists.

    See Also:
    Serialized Form