/**
 * COSC2440: Software Architecture - Design and Implementation
 *
 * @Lecturer: Quang Tran Ngoc
 * @Students: Doan Hai Dang (s3425475)
 *            Nguyen Quoc Cuong (s3393313)
 *            Vu Xuan Loc (s3309663)
 * @Assignment: 2 - Poker Game
 */

package vn.edu.rmit.utilities;

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

/**
 * Created by VuXuanLoc on 7/23/14.
 */

// Hold constant values for uses throughout the application.

public class Values {

    // Colors.

    final static public Color BACKGROUND = new Color(71, 113, 72);
    final static public Color DESK = Color.BLACK;
    final static public Color TEXT = Color.WHITE;
    final static public Color NOTIFICATION = Color.RED;
    final static public Color MONEY = Color.BLUE;

    // Borders.

    final static public Border BORDER = BorderFactory.createLineBorder(Color.GRAY, 3, true);
    final static public Border BORDER_ACTIVE = BorderFactory.createLineBorder(Color.RED, 3, true);

    // Integers.

    final static public int MIN_NUMBER_OF_PLAYERS = 3;
    final static public int MAX_NUMBER_OF_PLAYERS = 6;
    final static public int MAX_SHOWN_STATISTICS = 7;

    // Booleans.

    final static public boolean WAIT_FOR_PLAYERS = false;

    // Strings.

    final static public String FRAME_TITLE = "Poker - Texas Hold'em";

    final static public String CARDS_DIRECTORY = "src/vn/edu/rmit/images/cards/";
    final static public String IMAGES_DIRECTORY = "src/vn/edu/rmit/images/";

    final static public String LOGIN_UNSUCCESSFUL_INCORRECT_INFORMATION = "Incorrect username or password.";
    final static public String LOGIN_UNSUCCESSFUL_CURRENTLY_LOGGED_IN = "Account's currently logged in.";
    final static public String LOGIN_UNSUCCESSFUL_MAX_NUMBER_OF_PLAYERS = "Max number of players reached.";
    final static public String GAME_STARTED_MESSAGE = "The game has started.";

    final static public String SIGNUP_UNSUCCESSFUL_USER_EXISTS = "Username already exists.";
    final static public String SIGNUP_SUCCESSFUL_MAX_NUMBER_OF_PLAYERS = "Sign up OK. Max players reached.";
    final static public String SIGNUP_SUCCESSFUL_GAME_STARTED = "Sign up OK. The game has started.";

    final static public String ADMIN_TITLE = "Admin";

    final static public String EMPTY_SLOT = " Empty Slot";

    final static public String TO_ALL_ACCOUNTS = "All";
    final static public String FROM_SERVER = "System";
    final static public String ONLINE_STATUS = " Online.";
    final static public String OFFLINE_STATUS = " Offline.";

}
