repo stringlengths 1 191 ⌀ | file stringlengths 23 351 | code stringlengths 0 5.32M | file_length int64 0 5.32M | avg_line_length float64 0 2.9k | max_line_length int64 0 288k | extension_type stringclasses 1
value |
|---|---|---|---|---|---|---|
Ludii | Ludii-master/Core/src/metadata/graphics/board/shape/BoardShape.java | package metadata.graphics.board.shape;
import java.util.BitSet;
import annotations.Hide;
import game.Game;
import game.types.board.ShapeType;
import metadata.graphics.GraphicsItem;
/**
* Sets the shape of the board.
*
* @author Matthew.Stephenson
*
* @remarks Only used by a specific number of board styles whe... | 1,226 | 16.782609 | 107 | java |
Ludii | Ludii-master/Core/src/metadata/graphics/board/style/BoardStyle.java | package metadata.graphics.board.style;
import java.util.BitSet;
import annotations.Hide;
import annotations.Name;
import annotations.Opt;
import game.Game;
import game.equipment.container.board.custom.MancalaBoard;
import game.types.board.StoreType;
import metadata.graphics.GraphicsItem;
import metadata.graphics.util... | 4,540 | 30.978873 | 134 | java |
Ludii | Ludii-master/Core/src/metadata/graphics/board/styleThickness/BoardStyleThickness.java | package metadata.graphics.board.styleThickness;
import java.util.BitSet;
import annotations.Hide;
import game.Game;
import metadata.graphics.GraphicsItem;
import metadata.graphics.util.BoardGraphicsType;
/**
* Sets the preferred scale for the thickness of a specific aspect of the board.
*
* @author Matthew.Steph... | 2,128 | 23.755814 | 139 | java |
Ludii | Ludii-master/Core/src/metadata/graphics/hand/Hand.java | package metadata.graphics.hand;
import java.util.BitSet;
import annotations.Name;
import annotations.Opt;
import game.Game;
import game.types.play.RoleType;
import metadata.graphics.GraphicsItem;
import metadata.graphics.hand.placement.HandPlacement;
/**
* Sets a graphic data to the hand.
*
* @author Matthew.Ste... | 2,173 | 25.839506 | 99 | java |
Ludii | Ludii-master/Core/src/metadata/graphics/hand/HandPlacementType.java | package metadata.graphics.hand;
/**
* Defines the types of Board metadata related to the placement.
*
* @author Matthew.Stephenson
*/
public enum HandPlacementType
{
/** To set the placement of the hand. */
Placement,
} | 227 | 18 | 64 | java |
Ludii | Ludii-master/Core/src/metadata/graphics/hand/package-info.java | /**
* The {\tt (hand ...)} `super' metadata ludeme is used modify a graphic
* property of a hand.
*/
package metadata.graphics.hand;
| 136 | 21.833333 | 72 | java |
Ludii | Ludii-master/Core/src/metadata/graphics/hand/placement/HandPlacement.java | package metadata.graphics.hand.placement;
import java.util.BitSet;
import annotations.Hide;
import annotations.Name;
import annotations.Opt;
import game.Game;
import game.types.play.RoleType;
import metadata.graphics.GraphicsItem;
/**
* Changes the placement of the hands
*
* @author Matthew.Stephenson
*/
@Hide
... | 2,861 | 20.358209 | 87 | java |
Ludii | Ludii-master/Core/src/metadata/graphics/no/No.java | package metadata.graphics.no;
import java.util.BitSet;
import annotations.Opt;
import game.Game;
import metadata.graphics.GraphicsItem;
import metadata.graphics.no.Boolean.NoAnimation;
import metadata.graphics.no.Boolean.NoBoard;
import metadata.graphics.no.Boolean.NoCurves;
import metadata.graphics.no.Boolean.NoDice... | 1,972 | 22.771084 | 97 | java |
Ludii | Ludii-master/Core/src/metadata/graphics/no/NoBooleanType.java | package metadata.graphics.no;
/**
* Defines the types of Hide metadata depending only of a boolean.
*
* @author Eric.Piette
*/
public enum NoBooleanType
{
/** To indicate whether the board should be hidden. */
Board,
/** To indicate whether the animations should be hidden. */
Animation,
/** To indicate wh... | 786 | 24.387097 | 98 | java |
Ludii | Ludii-master/Core/src/metadata/graphics/no/package-info.java | /**
* The {\tt (no ...)} `super' metadata ludeme is used to not show a graphic
* property.
*/
package metadata.graphics.no;
| 127 | 20.333333 | 75 | java |
Ludii | Ludii-master/Core/src/metadata/graphics/no/Boolean/NoAnimation.java | package metadata.graphics.no.Boolean;
import java.util.BitSet;
import annotations.Hide;
import annotations.Opt;
import game.Game;
import metadata.graphics.GraphicsItem;
/**
* Indicates whether the movement animation should be disabled.
*
* @author Matthew.Stephenson
*
* @remarks Should be used in cases where ... | 1,436 | 18.958333 | 84 | java |
Ludii | Ludii-master/Core/src/metadata/graphics/no/Boolean/NoBoard.java | package metadata.graphics.no.Boolean;
import java.util.BitSet;
import annotations.Hide;
import annotations.Opt;
import game.Game;
import metadata.graphics.GraphicsItem;
import other.concept.Concept;
/**
* Indicates whether the board should be hidden.
*
* @author Matthew.Stephenson
*
* @remarks Useful in card ... | 1,407 | 18.830986 | 79 | java |
Ludii | Ludii-master/Core/src/metadata/graphics/no/Boolean/NoCurves.java | package metadata.graphics.no.Boolean;
import java.util.BitSet;
import annotations.Hide;
import annotations.Opt;
import game.Game;
import metadata.graphics.GraphicsItem;
/**
* Indicates if the lines that make up the board's rings should be drawn as straight lines.
*
* @author Matthew.Stephenson
*
* @remarks On... | 1,547 | 21.434783 | 104 | java |
Ludii | Ludii-master/Core/src/metadata/graphics/no/Boolean/NoDicePips.java | package metadata.graphics.no.Boolean;
import java.util.BitSet;
import annotations.Hide;
import annotations.Opt;
import game.Game;
import metadata.graphics.GraphicsItem;
/**
* Indicates whether pips on the dice should be always drawn as a single number.
*
* @author Matthew.Stephenson
*
*/
@Hide
public class No... | 1,381 | 19.323529 | 98 | java |
Ludii | Ludii-master/Core/src/metadata/graphics/no/Boolean/NoSunken.java | package metadata.graphics.no.Boolean;
import java.util.BitSet;
import annotations.Hide;
import annotations.Opt;
import game.Game;
import metadata.graphics.GraphicsItem;
/**
* Indicates whether the board should not be drawn sunken.
*
* @author Matthew.Stephenson
*
* @remarks Only applies to graph boards
*/
@H... | 1,338 | 17.859155 | 76 | java |
Ludii | Ludii-master/Core/src/metadata/graphics/others/HiddenImage.java | package metadata.graphics.others;
import java.util.BitSet;
import game.Game;
import metadata.graphics.GraphicsItem;
/**
* Draws a specified image when a piece is hidden.
*
* @author Matthew.Stephenson
*/
public class HiddenImage implements GraphicsItem
{
/** Hidden image to draw. */
private final String imag... | 1,131 | 15.895522 | 76 | java |
Ludii | Ludii-master/Core/src/metadata/graphics/others/StackType.java | package metadata.graphics.others;
import java.util.BitSet;
import annotations.Name;
import annotations.Opt;
import annotations.Or;
import game.Game;
import game.types.board.SiteType;
import game.types.play.RoleType;
import metadata.graphics.GraphicsItem;
import metadata.graphics.util.PieceStackType;
import other.conc... | 5,439 | 22.859649 | 94 | java |
Ludii | Ludii-master/Core/src/metadata/graphics/others/SuitRanking.java | package metadata.graphics.others;
import java.util.BitSet;
import game.Game;
import game.types.component.SuitType;
import metadata.graphics.GraphicsItem;
/**
* Indicates the ranking for card suits (lowest to highest).
*
* @author Matthew.Stephenson
*
* @remarks Should be used only for card games.
*/
public c... | 1,296 | 17.797101 | 76 | java |
Ludii | Ludii-master/Core/src/metadata/graphics/others/package-info.java | /**
* The ``other'' metadata items are used to modify the UI for a given game for
* more specific data.
*/
package metadata.graphics.others;
| 144 | 23.166667 | 78 | java |
Ludii | Ludii-master/Core/src/metadata/graphics/piece/Piece.java | package metadata.graphics.piece;
import java.util.BitSet;
import annotations.Name;
import annotations.Opt;
import game.Game;
import game.types.play.RoleType;
import metadata.graphics.GraphicsItem;
import metadata.graphics.piece.colour.PieceColour;
import metadata.graphics.piece.families.PieceFamilies;
import metadata... | 11,650 | 31.274238 | 164 | java |
Ludii | Ludii-master/Core/src/metadata/graphics/piece/PieceColourType.java | package metadata.graphics.piece;
/**
* Defines the types of Piece metadata to set a colour.
*
* @author Eric.Piette
*/
public enum PieceColourType
{
/** To set the colour of a piece. */
Colour,
} | 203 | 16 | 55 | java |
Ludii | Ludii-master/Core/src/metadata/graphics/piece/PieceFamiliesType.java | package metadata.graphics.piece;
/**
* Defines the types of Piece metadata belonging to some families.
*
* @author Eric.Piette
*/
public enum PieceFamiliesType
{
/** To specify a list of families for the game's pieces.. */
Families,
} | 242 | 19.25 | 66 | java |
Ludii | Ludii-master/Core/src/metadata/graphics/piece/PieceGroundType.java | package metadata.graphics.piece;
/**
* Defines the types of Piece metadata to set the foreground.
*
* @author Eric.Piette
*/
public enum PieceGroundType
{
/** To draw a specified image in front of a piece. */
Background,
/** To draw a specified image behind a piece. */
Foreground,
/** To draw a specified ... | 361 | 19.111111 | 61 | java |
Ludii | Ludii-master/Core/src/metadata/graphics/piece/PieceNameType.java | package metadata.graphics.piece;
/**
* Defines the types of Piece metadata to change the name.
*
* @author Eric.Piette
*/
public enum PieceNameType
{
/** To replace a piece's name with an alternative. */
Rename,
/** To add additional text to a piece name. */
ExtendName,
/** To add the local state value of ... | 422 | 17.391304 | 60 | java |
Ludii | Ludii-master/Core/src/metadata/graphics/piece/PieceReflectType.java | package metadata.graphics.piece;
/**
* Defines the types of Piece metadata to reflect.
*
* @author Eric.Piette
*/
public enum PieceReflectType
{
/** To indicate whether to apply any vertical or horizontal image reflections to a piece. */
Reflect,
} | 256 | 20.416667 | 93 | java |
Ludii | Ludii-master/Core/src/metadata/graphics/piece/PieceRotateType.java | package metadata.graphics.piece;
/**
* Defines the types of Piece metadata to reflect.
*
* @author Eric.Piette
*/
public enum PieceRotateType
{
/** To indicate whether to rotate the image for a piece. */
Rotate,
} | 221 | 17.5 | 60 | java |
Ludii | Ludii-master/Core/src/metadata/graphics/piece/PieceScaleByType.java | package metadata.graphics.piece;
/**
* Defines the types of Piece metadata to scale by a data.
*
* @author Eric.Piette
*/
public enum PieceScaleByType
{
/**
* To indicate If the pieces in the game should be scaled in size based on their
* value.
*/
ByValue,
} | 273 | 17.266667 | 81 | java |
Ludii | Ludii-master/Core/src/metadata/graphics/piece/PieceScaleType.java | package metadata.graphics.piece;
/**
* Defines the types of Piece metadata to scale.
*
* @author Eric.Piette
*/
public enum PieceScaleType
{
/** To set the image scale of a piece. */
Scale,
} | 199 | 15.666667 | 48 | java |
Ludii | Ludii-master/Core/src/metadata/graphics/piece/PieceStyleType.java | package metadata.graphics.piece;
/**
* Defines the types of Piece metadata to set a style.
*
* @author Eric.Piette
*/
public enum PieceStyleType
{
/** To set the style of a piece. */
Style,
} | 199 | 15.666667 | 54 | java |
Ludii | Ludii-master/Core/src/metadata/graphics/piece/package-info.java | /**
* The {\tt (piece ...)} `super' metadata ludeme is used to modify a graphic
* property of a piece.
*/
package metadata.graphics.piece;
| 142 | 22.833333 | 76 | java |
Ludii | Ludii-master/Core/src/metadata/graphics/piece/colour/PieceColour.java | package metadata.graphics.piece.colour;
import java.util.BitSet;
import annotations.Hide;
import annotations.Name;
import annotations.Opt;
import game.Game;
import game.types.play.RoleType;
import metadata.graphics.GraphicsItem;
import metadata.graphics.util.colour.Colour;
/**
* Sets the colour of a piece.
*
* @... | 3,959 | 20.758242 | 76 | java |
Ludii | Ludii-master/Core/src/metadata/graphics/piece/families/PieceFamilies.java | package metadata.graphics.piece.families;
import java.util.BitSet;
import annotations.Hide;
import game.Game;
import metadata.graphics.GraphicsItem;
import other.concept.Concept;
/**
* Specifies a list of families for the game's pieces.
*
* @author Matthew.Stephenson
*
* @remarks Used for games where the piec... | 1,475 | 19.5 | 94 | java |
Ludii | Ludii-master/Core/src/metadata/graphics/piece/ground/PieceBackground.java | package metadata.graphics.piece.ground;
import java.util.BitSet;
import annotations.Hide;
import annotations.Name;
import annotations.Opt;
import game.Game;
import game.types.play.RoleType;
import metadata.graphics.GraphicsItem;
import metadata.graphics.util.colour.Colour;
/**
* Draws a specified image behind a pie... | 6,862 | 22.423208 | 116 | java |
Ludii | Ludii-master/Core/src/metadata/graphics/piece/ground/PieceForeground.java | package metadata.graphics.piece.ground;
import java.util.BitSet;
import annotations.Hide;
import annotations.Name;
import annotations.Opt;
import game.Game;
import game.types.play.RoleType;
import metadata.graphics.GraphicsItem;
import metadata.graphics.util.colour.Colour;
/**
* Draws a specified image in front of ... | 6,878 | 22.477816 | 116 | java |
Ludii | Ludii-master/Core/src/metadata/graphics/piece/name/PieceAddStateToName.java | package metadata.graphics.piece.name;
import java.util.BitSet;
import annotations.Hide;
import annotations.Name;
import annotations.Opt;
import game.Game;
import game.types.play.RoleType;
import metadata.graphics.GraphicsItem;
/**
* Indicates whether the local state value of a piece should be added to its name.
* ... | 2,812 | 19.683824 | 83 | java |
Ludii | Ludii-master/Core/src/metadata/graphics/piece/name/PieceExtendName.java | package metadata.graphics.piece.name;
import java.util.BitSet;
import annotations.Hide;
import annotations.Name;
import annotations.Opt;
import game.Game;
import game.types.play.RoleType;
import metadata.graphics.GraphicsItem;
/**
* Adds additional text to a piece name.
*
* @author Matthew.Stephenson
*
* @rem... | 3,116 | 19.78 | 83 | java |
Ludii | Ludii-master/Core/src/metadata/graphics/piece/name/PieceRename.java | package metadata.graphics.piece.name;
import java.util.BitSet;
import annotations.Hide;
import annotations.Name;
import annotations.Opt;
import game.Game;
import game.types.play.RoleType;
import metadata.graphics.GraphicsItem;
/**
* Replaces a piece's name with an alternative.
*
* @author Matthew.Stephenson
*
... | 3,130 | 19.735099 | 83 | java |
Ludii | Ludii-master/Core/src/metadata/graphics/piece/rotate/PieceRotate.java | package metadata.graphics.piece.rotate;
import java.util.BitSet;
import annotations.Hide;
import annotations.Name;
import annotations.Opt;
import game.Game;
import game.types.play.RoleType;
import metadata.graphics.GraphicsItem;
/**
* Indicates whether to rotate a piece image.
*
* @author Matthew.Stephenson
*
... | 3,154 | 19.89404 | 117 | java |
Ludii | Ludii-master/Core/src/metadata/graphics/piece/scale/PieceScale.java | package metadata.graphics.piece.scale;
import java.util.BitSet;
import annotations.Hide;
import annotations.Name;
import annotations.Opt;
import game.Game;
import game.types.play.RoleType;
import metadata.graphics.GraphicsItem;
/**
* Sets the image scale of a piece.
*
* @author Matthew.Stephenson
*
* @remarks... | 4,102 | 21.298913 | 94 | java |
Ludii | Ludii-master/Core/src/metadata/graphics/piece/style/PieceStyle.java | package metadata.graphics.piece.style;
import java.util.BitSet;
import annotations.Hide;
import annotations.Opt;
import game.Game;
import game.types.play.RoleType;
import metadata.graphics.GraphicsItem;
import metadata.graphics.util.ComponentStyleType;
/**
* Sets the style of a piece.
*
* @author Matthew.Stephen... | 2,103 | 20.04 | 76 | java |
Ludii | Ludii-master/Core/src/metadata/graphics/player/Player.java | package metadata.graphics.player;
import java.util.BitSet;
import game.Game;
import game.types.play.RoleType;
import metadata.graphics.GraphicsItem;
import metadata.graphics.player.colour.PlayerColour;
import metadata.graphics.player.name.PlayerName;
import metadata.graphics.util.colour.Colour;
/**
* Sets a graphic... | 2,690 | 23.463636 | 101 | java |
Ludii | Ludii-master/Core/src/metadata/graphics/player/PlayerColourType.java | package metadata.graphics.player;
/**
* Defines the types of Player metadata depending of a colour.
*
* @author Eric.Piette
*/
public enum PlayerColourType
{
/** To set the colour of a player. */
Colour,
}
| 214 | 15.538462 | 62 | java |
Ludii | Ludii-master/Core/src/metadata/graphics/player/PlayerNameType.java | package metadata.graphics.player;
/**
* Defines the types of Player metadata depending of a name.
*
* @author Matthew.Stephenson
*/
public enum PlayerNameType
{
/** To set the name of a player. */
Name,
}
| 213 | 15.461538 | 60 | java |
Ludii | Ludii-master/Core/src/metadata/graphics/player/package-info.java | /**
* The ``player'' metadata items describe relevant player settings.
*/
package metadata.graphics.player;
| 110 | 21.2 | 67 | java |
Ludii | Ludii-master/Core/src/metadata/graphics/player/colour/PlayerColour.java | package metadata.graphics.player.colour;
import java.util.BitSet;
import annotations.Hide;
import game.Game;
import game.types.play.RoleType;
import metadata.graphics.GraphicsItem;
import metadata.graphics.util.colour.Colour;
//-----------------------------------------------------------------------------
/**
* Set... | 1,687 | 18.181818 | 79 | java |
Ludii | Ludii-master/Core/src/metadata/graphics/player/name/PlayerName.java | package metadata.graphics.player.name;
import java.util.BitSet;
import annotations.Hide;
import game.Game;
import game.types.play.RoleType;
import metadata.graphics.GraphicsItem;
/**
* Sets the name of a player.
*
* @author Matthew.Stephenson
*/
@Hide
public class PlayerName implements GraphicsItem
{
/** RoleT... | 1,530 | 17.011765 | 76 | java |
Ludii | Ludii-master/Core/src/metadata/graphics/puzzle/AdversarialPuzzle.java | package metadata.graphics.puzzle;
import java.util.BitSet;
import annotations.Opt;
import game.Game;
import metadata.graphics.GraphicsItem;
//-----------------------------------------------------------------------------
/**
* Indicates whether the game is an adversarial puzzle.
*
* @author Matthew.Stephenson
*... | 1,566 | 21.070423 | 97 | java |
Ludii | Ludii-master/Core/src/metadata/graphics/puzzle/DrawHint.java | package metadata.graphics.puzzle;
import java.util.BitSet;
import game.Game;
import metadata.graphics.GraphicsItem;
import metadata.graphics.util.PuzzleDrawHintType;
/**
* Indicates how the hints for the puzzle should be shown.
*
* @author Matthew.Stephenson
*/
public class DrawHint implements GraphicsItem
{
/... | 1,228 | 17.621212 | 76 | java |
Ludii | Ludii-master/Core/src/metadata/graphics/puzzle/HintLocation.java | package metadata.graphics.puzzle;
import java.util.BitSet;
import game.Game;
import metadata.graphics.GraphicsItem;
import metadata.graphics.util.PuzzleHintLocationType;
/**
* Indicates how to determine the site for the hint to be drawn.
*
* @author Matthew.Stephenson
*/
public class HintLocation implements Gra... | 1,312 | 18.597015 | 76 | java |
Ludii | Ludii-master/Core/src/metadata/graphics/puzzle/package-info.java | /**
* The ``Puzzle'' metadata items describe relevant puzzle settings.
*/
package metadata.graphics.puzzle;
| 110 | 21.2 | 67 | java |
Ludii | Ludii-master/Core/src/metadata/graphics/region/Region.java | package metadata.graphics.region;
import java.util.BitSet;
import annotations.Name;
import annotations.Opt;
import annotations.Or;
import game.Game;
import game.functions.region.RegionFunction;
import game.types.board.SiteType;
import game.types.play.RoleType;
import metadata.graphics.GraphicsItem;
import metadata.gr... | 2,936 | 30.244681 | 116 | java |
Ludii | Ludii-master/Core/src/metadata/graphics/region/RegionColourType.java | package metadata.graphics.region;
/**
* Defines the types of Region metadata depending of a colour.
*
* @author Eric.Piette
*/
public enum RegionColourType
{
/** To set the colour of a player. */
Colour,
}
| 214 | 15.538462 | 62 | java |
Ludii | Ludii-master/Core/src/metadata/graphics/region/package-info.java | /**
* The {\tt (region ...)} `super' metadata ludeme is used to modify a graphic
* property of a region.
*/
package metadata.graphics.region;
| 145 | 23.333333 | 77 | java |
Ludii | Ludii-master/Core/src/metadata/graphics/region/colour/RegionColour.java | package metadata.graphics.region.colour;
import java.util.BitSet;
import annotations.Hide;
import annotations.Name;
import annotations.Opt;
import annotations.Or;
import game.Game;
import game.functions.region.RegionFunction;
import game.types.board.SiteType;
import game.types.play.RoleType;
import metadata.graphics.... | 5,079 | 23.190476 | 101 | java |
Ludii | Ludii-master/Core/src/metadata/graphics/show/Show.java | package metadata.graphics.show;
import java.util.BitSet;
import annotations.Name;
import annotations.Opt;
import annotations.Or;
import game.Game;
import game.functions.ints.IntFunction;
import game.functions.region.RegionFunction;
import game.types.board.RelationType;
import game.types.board.SiteType;
import game.ty... | 13,898 | 31.626761 | 189 | java |
Ludii | Ludii-master/Core/src/metadata/graphics/show/ShowBooleanType.java | package metadata.graphics.show;
/**
* Defines the types of Show metadata depending only of a boolean.
*
* @author Eric.Piette
*/
public enum ShowBooleanType
{
/** To indicates whether the pits on the board should be marked with their owner. */
Pits,
/** To indicates whether the player's holes on the board sh... | 1,048 | 25.897436 | 95 | java |
Ludii | Ludii-master/Core/src/metadata/graphics/show/ShowCheckType.java | package metadata.graphics.show;
/**
* Defines the types of Show metadata for a check.
*
* @author Eric.Piette
*/
public enum ShowCheckType
{
/** To indicates whether a "Check" should be displayed when a piece is in threatened.
*/
Check,
} | 248 | 18.153846 | 86 | java |
Ludii | Ludii-master/Core/src/metadata/graphics/show/ShowComponentDataType.java | package metadata.graphics.show;
/**
* Defines the types of data to show for a component in the super metadata Show
* ludeme.
*
* @author Eric.Piette
*/
public enum ShowComponentDataType
{
/** To indicates whether the state of a piece should be displayed. */
State,
/** To indicates whether the value of a piec... | 355 | 21.25 | 79 | java |
Ludii | Ludii-master/Core/src/metadata/graphics/show/ShowComponentType.java | package metadata.graphics.show;
/**
* Defines the types of Show metadata for a type of components.
*
* @author Eric.Piette
*/
public enum ShowComponentType
{
/** To indicate that the component to apply the type is a piece. */
Piece,
} | 242 | 19.25 | 68 | java |
Ludii | Ludii-master/Core/src/metadata/graphics/show/ShowEdgeType.java | package metadata.graphics.show;
/**
* Defines the types of Draw metadata related to edges.
*
* @author Eric.Piette
*/
public enum ShowEdgeType
{
/** To specify customised drawing of edges in the board graph. */
Edges,
} | 227 | 18 | 66 | java |
Ludii | Ludii-master/Core/src/metadata/graphics/show/ShowLineType.java | package metadata.graphics.show;
/**
* Defines the types of Draw metadata related to line.
*
* @author Matthew.stephenson
*/
public enum ShowLineType
{
/** To draw a specified image on the board. */
Line,
} | 213 | 16.833333 | 54 | java |
Ludii | Ludii-master/Core/src/metadata/graphics/show/ShowScoreType.java | package metadata.graphics.show;
/**
* Defines the types of Show metadata for a score.
*
* @author Eric.Piette
*/
public enum ShowScoreType
{
/** To indicate whether the score should be shown only in certain situations. */
Score,
}
| 239 | 17.461538 | 81 | java |
Ludii | Ludii-master/Core/src/metadata/graphics/show/ShowSiteDataType.java | package metadata.graphics.show;
/**
* Defines the types of Show metadata related to a data of the sites.
*
* @author Eric.Piette
*/
public enum ShowSiteDataType
{
/** To indicate whether the sites of the board should be represented as holes. */
AsHoles,
/** Indicates whether the sites of the board should hav... | 360 | 23.066667 | 83 | java |
Ludii | Ludii-master/Core/src/metadata/graphics/show/ShowSiteType.java | package metadata.graphics.show;
/**
* Defines the types of Show metadata related to a site.
*
* @author Eric.Piette
*/
public enum ShowSiteType
{
/** To apply it on the sites. */
Sites,
/** To apply it on the cells. */
Cell,
} | 237 | 14.866667 | 56 | java |
Ludii | Ludii-master/Core/src/metadata/graphics/show/ShowSymbolType.java | package metadata.graphics.show;
/**
* Defines the types of Draw metadata related to symbol.
*
* @author Eric.Piette
*/
public enum ShowSymbolType
{
/** To draw a specified image on the board. */
Symbol,
} | 212 | 16.75 | 56 | java |
Ludii | Ludii-master/Core/src/metadata/graphics/show/package-info.java | /**
* The {\tt (show ...)} `super' metadata ludeme is used to show a graphic
* property or an information during the game.
*/
package metadata.graphics.show;
| 161 | 26 | 73 | java |
Ludii | Ludii-master/Core/src/metadata/graphics/show/Boolean/ShowCost.java | package metadata.graphics.show.Boolean;
import java.util.BitSet;
import annotations.Hide;
import annotations.Opt;
import game.Game;
import metadata.graphics.GraphicsItem;
//-----------------------------------------------------------------------------
/**
* Indicates whether the cost of the different graph element ... | 1,327 | 18.246377 | 79 | java |
Ludii | Ludii-master/Core/src/metadata/graphics/show/Boolean/ShowCurvedEdges.java | package metadata.graphics.show.Boolean;
import java.util.BitSet;
import annotations.Hide;
import annotations.Opt;
import game.Game;
import metadata.graphics.GraphicsItem;
/**
* Indicates whether curved edges should be shown.
*
* @author Matthew.Stephenson
*/
@Hide
public class ShowCurvedEdges implements Graphic... | 1,320 | 18.716418 | 91 | java |
Ludii | Ludii-master/Core/src/metadata/graphics/show/Boolean/ShowEdgeDirections.java | package metadata.graphics.show.Boolean;
import java.util.BitSet;
import annotations.Hide;
import annotations.Opt;
import game.Game;
import metadata.graphics.GraphicsItem;
/**
* Indicates whether the directions of the Edges should be shown (only valid for Graph Games).
*
* @author Matthew.Stephenson
*/
@Hide
pub... | 1,403 | 19.955224 | 100 | java |
Ludii | Ludii-master/Core/src/metadata/graphics/show/Boolean/ShowLocalStateHoles.java | package metadata.graphics.show.Boolean;
import java.util.BitSet;
import annotations.Hide;
import annotations.Opt;
import game.Game;
import metadata.graphics.GraphicsItem;
/**
* Indicates whether the holes with a local state of zero on the board should be marked with their owner.
*
* @author Matthew.Stephenson
*... | 1,541 | 21.028571 | 107 | java |
Ludii | Ludii-master/Core/src/metadata/graphics/show/Boolean/ShowPits.java | package metadata.graphics.show.Boolean;
import java.util.BitSet;
import annotations.Hide;
import annotations.Opt;
import game.Game;
import metadata.graphics.GraphicsItem;
/**
* Indicates whether the pits on the board should be marked with their owner.
*
* @author Matthew.Stephenson
*
* @remarks Only used by a... | 1,375 | 18.942029 | 107 | java |
Ludii | Ludii-master/Core/src/metadata/graphics/show/Boolean/ShowPlayerHoles.java | package metadata.graphics.show.Boolean;
import java.util.BitSet;
import annotations.Hide;
import annotations.Opt;
import game.Game;
import metadata.graphics.GraphicsItem;
/**
* Indicates whether the player's holes on the board should be marked with their owner.
*
* @author Matthew.Stephenson
*
* @remarks Only... | 1,486 | 20.242857 | 107 | java |
Ludii | Ludii-master/Core/src/metadata/graphics/show/Boolean/ShowPossibleMoves.java | package metadata.graphics.show.Boolean;
import java.util.BitSet;
import annotations.Hide;
import annotations.Opt;
import game.Game;
import metadata.graphics.GraphicsItem;
/**
* Indicates whether the possible moves are always shown.
*
* @author Matthew.Stephenson
*/
@Hide
public class ShowPossibleMoves implement... | 1,357 | 19.268657 | 97 | java |
Ludii | Ludii-master/Core/src/metadata/graphics/show/Boolean/ShowRegionOwner.java | package metadata.graphics.show.Boolean;
import java.util.BitSet;
import annotations.Hide;
import annotations.Opt;
import game.Game;
import metadata.graphics.GraphicsItem;
/**
* Indicates whether the owner of each region should be shown.
*
* @author cambolbro
*
* @remarks This is useful for graph games to indi... | 1,259 | 17.529412 | 76 | java |
Ludii | Ludii-master/Core/src/metadata/graphics/show/Boolean/ShowStraightEdges.java | package metadata.graphics.show.Boolean;
import java.util.BitSet;
import annotations.Hide;
import annotations.Opt;
import game.Game;
import metadata.graphics.GraphicsItem;
/**
* Indicates whether straight edges should be shown.
*
* @author Matthew.Stephenson
*/
@Hide
public class ShowStraightEdges implements Gra... | 1,346 | 19.104478 | 97 | java |
Ludii | Ludii-master/Core/src/metadata/graphics/show/check/ShowCheck.java | package metadata.graphics.show.check;
import java.util.BitSet;
import annotations.Hide;
import annotations.Opt;
import game.Game;
import game.types.play.RoleType;
import metadata.graphics.GraphicsItem;
/**
* Indicates whether a "Check" should be displayed when a piece is in threatened.
*
* @author Matthew.Stephe... | 1,698 | 18.755814 | 81 | java |
Ludii | Ludii-master/Core/src/metadata/graphics/show/component/ShowPieceState.java | package metadata.graphics.show.component;
import java.util.BitSet;
import annotations.Hide;
import annotations.Name;
import annotations.Opt;
import game.Game;
import game.types.play.RoleType;
import metadata.graphics.GraphicsItem;
import metadata.graphics.util.ValueLocationType;
import other.concept.Concept;
/**
* ... | 4,638 | 23.675532 | 94 | java |
Ludii | Ludii-master/Core/src/metadata/graphics/show/component/ShowPieceValue.java | package metadata.graphics.show.component;
import java.util.BitSet;
import annotations.Hide;
import annotations.Name;
import annotations.Opt;
import game.Game;
import game.types.play.RoleType;
import metadata.graphics.GraphicsItem;
import metadata.graphics.util.ValueLocationType;
import other.concept.Concept;
/**
* ... | 4,601 | 23.741935 | 94 | java |
Ludii | Ludii-master/Core/src/metadata/graphics/show/edges/ShowEdges.java | package metadata.graphics.show.edges;
import java.util.BitSet;
import annotations.Hide;
import annotations.Name;
import annotations.Opt;
import game.Game;
import game.types.board.RelationType;
import metadata.graphics.GraphicsItem;
import metadata.graphics.util.EdgeType;
import metadata.graphics.util.LineStyle;
impor... | 3,544 | 23.79021 | 157 | java |
Ludii | Ludii-master/Core/src/metadata/graphics/show/line/ShowLine.java | package metadata.graphics.show.line;
import java.util.BitSet;
import annotations.Hide;
import annotations.Name;
import annotations.Opt;
import game.Game;
import game.types.board.SiteType;
import metadata.graphics.GraphicsItem;
import metadata.graphics.util.CurveType;
import metadata.graphics.util.LineStyle;
import me... | 4,059 | 22.74269 | 125 | java |
Ludii | Ludii-master/Core/src/metadata/graphics/show/score/ShowScore.java | package metadata.graphics.show.score;
import java.util.BitSet;
import annotations.Hide;
import annotations.Opt;
import game.Game;
import game.functions.ints.IntFunction;
import game.types.play.RoleType;
import metadata.graphics.GraphicsItem;
import metadata.graphics.util.WhenScoreType;
/**
* Indicates whether the s... | 2,725 | 22.5 | 78 | java |
Ludii | Ludii-master/Core/src/metadata/graphics/show/sites/ShowSitesAsHoles.java | package metadata.graphics.show.sites;
import java.util.BitSet;
import annotations.Hide;
import game.Game;
import metadata.graphics.GraphicsItem;
import metadata.graphics.util.HoleType;
/**
* Indicates whether the sites of the board should be represented as holes.
*
* @author Matthew.Stephenson
*
* @remarks On... | 1,658 | 18.290698 | 107 | java |
Ludii | Ludii-master/Core/src/metadata/graphics/show/sites/ShowSitesIndex.java | package metadata.graphics.show.sites;
import java.util.BitSet;
import annotations.Hide;
import annotations.Opt;
import game.Game;
import game.types.board.SiteType;
import metadata.graphics.GraphicsItem;
/**
* Indicates whether the sites of the board should have their index displayed.
*
* @author Matthew.Stephens... | 1,695 | 19.190476 | 88 | java |
Ludii | Ludii-master/Core/src/metadata/graphics/show/sites/ShowSitesShape.java | package metadata.graphics.show.sites;
import java.util.BitSet;
import annotations.Hide;
import game.Game;
import game.types.board.ShapeType;
import metadata.graphics.GraphicsItem;
/**
* Sets the shape of the board's cells.
*
* @author Matthew.Stephenson
*
* @remarks Only used by a specific number of board sty... | 1,264 | 17.333333 | 77 | java |
Ludii | Ludii-master/Core/src/metadata/graphics/show/symbol/ShowSymbol.java | package metadata.graphics.show.symbol;
import java.util.BitSet;
import annotations.Hide;
import annotations.Name;
import annotations.Opt;
import annotations.Or;
import game.Game;
import game.functions.region.RegionFunction;
import game.types.board.SiteType;
import game.types.play.RoleType;
import metadata.graphics.Gr... | 8,973 | 25.316716 | 110 | java |
Ludii | Ludii-master/Core/src/metadata/graphics/util/BoardGraphicsType.java | package metadata.graphics.util;
import game.types.board.SiteType;
import metadata.MetadataItem;
/**
*
* @author matthew.stephenson
*/
public enum BoardGraphicsType implements MetadataItem
{
/** Edges that are not along a board side. */
InnerEdges(0, SiteType.Edge),
/** Edges that define a board side. */
Ou... | 2,272 | 23.706522 | 78 | java |
Ludii | Ludii-master/Core/src/metadata/graphics/util/ComponentStyleType.java | package metadata.graphics.util;
import metadata.MetadataItem;
//-----------------------------------------------------------------------------
/**
* Supported style types for rendering particular components.
*
* @author matthew.stephenson and cambolbro
*/
public enum ComponentStyleType implements MetadataItem
{
... | 1,266 | 18.796875 | 82 | java |
Ludii | Ludii-master/Core/src/metadata/graphics/util/ContainerStyleType.java | package metadata.graphics.util;
import metadata.MetadataItem;
//-----------------------------------------------------------------------------
/**
* Supported style types for rendering particular boards.
*
* @author matthew.stephenson and cambolbro
*/
public enum ContainerStyleType implements MetadataItem
{
//... | 2,789 | 19.666667 | 82 | java |
Ludii | Ludii-master/Core/src/metadata/graphics/util/ControllerType.java | package metadata.graphics.util;
import java.util.BitSet;
import game.Game;
import metadata.graphics.GraphicsItem;
/**
* Defines supported controller types for handling user interactions for particular topologies.
*
* @author matthew.stephenson and cambolbro
*/
public enum ControllerType implements GraphicsItem
... | 1,200 | 18.063492 | 95 | java |
Ludii | Ludii-master/Core/src/metadata/graphics/util/CurveType.java | package metadata.graphics.util;
import metadata.MetadataItem;
//-----------------------------------------------------------------------------
/**
* Supported style types for drawing curves.
*
* @author matthew.stephenson
*/
public enum CurveType implements MetadataItem
{
/** Spline curve based on relative dist... | 710 | 17.230769 | 80 | java |
Ludii | Ludii-master/Core/src/metadata/graphics/util/EdgeInfoGUI.java | package metadata.graphics.util;
import java.awt.Color;
/**
* Relevant GUI information about an edge
*
* @author Matthew.Stephenson
*/
public class EdgeInfoGUI
{
private LineStyle style;
private Color colour;
//-----------------------------------------------------------------------------
/**
* @param s... | 951 | 13.208955 | 80 | java |
Ludii | Ludii-master/Core/src/metadata/graphics/util/EdgeType.java | package metadata.graphics.util;
import java.util.BitSet;
import game.Game;
import metadata.graphics.GraphicsItem;
/**
* Defines edge type for drawing board elements, e.g. for graph games.
*
* @author matthew.stephenson and cambolbro
*/
public enum EdgeType implements GraphicsItem
{
/** All board edges. */
Al... | 1,190 | 16.514706 | 76 | java |
Ludii | Ludii-master/Core/src/metadata/graphics/util/HoleType.java | package metadata.graphics.util;
import java.util.BitSet;
import game.Game;
import metadata.graphics.GraphicsItem;
/**
* Defines hole styles for Mancala board.
*
* @author Eric.Piette
*/
public enum HoleType implements GraphicsItem
{
/** Hole as Square. */
Square,
/** Oval as Square. */
Oval,
;
@Overrid... | 600 | 12.976744 | 44 | java |
Ludii | Ludii-master/Core/src/metadata/graphics/util/LineStyle.java | package metadata.graphics.util;
import java.util.BitSet;
import game.Game;
import metadata.graphics.GraphicsItem;
/**
* Defines line styles for drawing board elements, e.g. edges for graph games.
*
* @author matthew.stephenson and cambolbro
*/
public enum LineStyle implements GraphicsItem
{
/** Thin line. */
... | 854 | 14 | 78 | java |
Ludii | Ludii-master/Core/src/metadata/graphics/util/MetadataFunctions.java | package metadata.graphics.util;
import java.util.ArrayList;
import game.equipment.other.Regions;
import game.functions.ints.board.Id;
import game.types.play.RoleType;
import other.context.Context;
/**
* The metadata functions.
*/
public class MetadataFunctions
{
//----------------------------------------------... | 1,617 | 27.385965 | 142 | java |
Ludii | Ludii-master/Core/src/metadata/graphics/util/MetadataImageInfo.java | package metadata.graphics.util;
import java.awt.Color;
import game.types.board.SiteType;
/**
* The Metadata Image Info.
* Generic object for holding various bits of information when applying metadata graphics
*
* @author matthew.stephenson
*/
public class MetadataImageInfo
{
/**
* The vertices to draw line ... | 12,880 | 20.39701 | 258 | java |
Ludii | Ludii-master/Core/src/metadata/graphics/util/PieceColourType.java | package metadata.graphics.util;
import java.util.BitSet;
import game.Game;
import metadata.graphics.GraphicsItem;
/**
* Defines different colours for a piece.
*
* @author matthew.stephenson
*/
public enum PieceColourType implements GraphicsItem
{
/** Fill colour. */
Fill,
/** Edge colour. */
Edge,
/**... | 765 | 14.958333 | 76 | java |
Ludii | Ludii-master/Core/src/metadata/graphics/util/PieceStackType.java | package metadata.graphics.util;
import java.util.BitSet;
import game.Game;
import metadata.graphics.GraphicsItem;
/**
* Defines different ways of visualising stacks of pieces.
*
* @author matthew.stephenson and cambolbro
*/
public enum PieceStackType implements GraphicsItem
{
/** Stacked one above the other (... | 2,626 | 20.532787 | 102 | java |
Ludii | Ludii-master/Core/src/metadata/graphics/util/PuzzleDrawHintType.java | package metadata.graphics.util;
import java.util.BitSet;
import game.Game;
import metadata.graphics.GraphicsItem;
/**
* Defines different ways of visualising stacks of pieces.
*
* @author matthew.stephenson and cambolbro
*/
public enum PuzzleDrawHintType implements GraphicsItem
{
/** Hints drawn in the middle... | 837 | 15.115385 | 76 | java |
Ludii | Ludii-master/Core/src/metadata/graphics/util/PuzzleHintLocationType.java | package metadata.graphics.util;
import java.util.BitSet;
import game.Game;
import metadata.graphics.GraphicsItem;
/**
* Defines different ways of visualising stacks of pieces.
*
* @author matthew.stephenson and cambolbro
*/
public enum PuzzleHintLocationType implements GraphicsItem
{
/** Hints placed on top-l... | 786 | 16.488889 | 76 | java |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.