Newer
Older
Algolike / src / main / java / views / Constants.java
package views;

import javax.swing.*;
import java.awt.*;

public class Constants {
    public static final int CARD_WIDTH=50;
    public static final int CARD_HEIGHT=75;
    public Step STEP;
    public enum Step{
        SelectMyHands,
        SelectOpponentHands,
        Declare,
        Confirm,
        OpponentSelect,
        OpponentDeclare,
        OpponentJudge,
        OpponentConfirm
    }
    public static String CLOSED_SYMBOL="?";
    public static int DECK_COUNT=11;
    public static Color SELECTED_COLOR=Color.CYAN;
    public static Color ATTACKER_COLOR=Color.RED;
    public static Color UNSELECTED_COLOR=Color.BLACK;
    public static Color OPEN_COLOR=Color.WHITE;
    public static Color CLOSED_COLOR=Color.BLACK;
    public static JButton cardPaint=new JButton(){
        @Override
        protected void paintComponent(Graphics g) {
            super.paintComponent(g);
        }
    };
}