Class TileNumberAction

    • Constructor Detail

      • TileNumberAction

        public TileNumberAction(Viewer viewer)
        Create a new action for toggling the visibility of tile numbers.
        Parameters:
        viewer - the viewer connected.
    • Method Detail

      • getState

        public boolean getState()
        Specified by:
        getState in class  BooleanAction
        Returns:
        whether this action is enabled.
      • toggleState

        public void toggleState()
        Description copied from class: BooleanAction
        implement what happens when the state is toggled.