Class FastSimpleFlags

java.lang.Object
net.royalur.rules.simple.fast.FastSimpleFlags

public class FastSimpleFlags extends Object
Flags about the tiles on the board that can be accessed efficiently.
  • Field Details

    • OCCUPANTS_MASK

      public static final int OCCUPANTS_MASK
      See Also:
    • LIGHT_ONLY_FLAG

      public static final int LIGHT_ONLY_FLAG
      See Also:
    • LIGHT_PATH_INDEX_SHIFT

      public static final int LIGHT_PATH_INDEX_SHIFT
      See Also:
    • LIGHT_PATH_INDEX_MASK

      public static final int LIGHT_PATH_INDEX_MASK
      See Also:
    • DARK_PATH_INDEX_SHIFT

      public static final int DARK_PATH_INDEX_SHIFT
      See Also:
    • DARK_PATH_INDEX_MASK

      public static final int DARK_PATH_INDEX_MASK
      See Also:
    • settings

      public final GameSettings settings
    • boardIndexCount

      public final int boardIndexCount
    • tileFlags

      public final int[] tileFlags
    • nextBoardIndices

      public final int[] nextBoardIndices
    • warTileCount

      public final int warTileCount
    • safeTileCountPerPlayer

      public final int safeTileCountPerPlayer
  • Constructor Details

    • FastSimpleFlags

      public FastSimpleFlags(GameSettings settings)
  • Method Details