RonaldoSetzer/GAME-Battleship

View on GitHub
src/battleship/utils/MagicValues.ts

Summary

Maintainability
A
0 mins
Test Coverage
export class MagicValues {
    /* FONT */
    public static FONT_FAMILY = "SimpleSmallPixel7";

    public static TILE_WIDTH = 22;
    public static TILE_HEIGHT = 22;

    public static FONT_SIZE_TITLE = 38;
    public static FONT_SIZE_DEFAULT = 32;
    public static FONT_SIZE_HUD = 42;
    public static FONT_SIZE_HUD_SMALL = 16;
    public static FONT_SIZE_BUTTON = 16;

    public static MAX_WIDTH = 400;
    public static MAX_HEIGHT = 600;
    public static HALF_WIDTH = 200;
    public static HALF_HEIGHT = 300;
}