package com.example.boidelov3.hub.model;

/**
 * GameInfo - Modèle représentant un jeu dans le hub
 * Contient les informations de base pour afficher et lancer un jeu
 */
public class GameInfo {

    private String name;
    private String description;
    private int iconResId;
    private GameType gameType;
    private boolean available;

    public enum GameType {
        BOIDELO_CLASSIC,
        GAME_89,
        UNDERCOVER,
        RULES
    }

    public GameInfo(String name, String description, int iconResId, GameType gameType, boolean available) {
        this.name = name;
        this.description = description;
        this.iconResId = iconResId;
        this.gameType = gameType;
        this.available = available;
    }

    // Getters
    public String getName() { return name; }
    public String getDescription() { return description; }
    public int getIconResId() { return iconResId; }
    public GameType getGameType() { return gameType; }
    public boolean isAvailable() { return available; }

    // Setters
    public void setAvailable(boolean available) { this.available = available; }
}
