Package com.company

Class Profil

java.lang.Object
com.company.Profil
All Implemented Interfaces:
java.io.Serializable

public class Profil
extends java.lang.Object
implements java.io.Serializable
Profil d'un joueur, représenté par un nom et une couleur immuable, contient son score.
See Also:
Serialized Form
  • Field Summary

    Fields
    Modifier and Type Field Description
    org.fusesource.jansi.Ansi.Color couleur  
    java.lang.String nom  
    int score  
  • Constructor Summary

    Constructors
    Constructor Description
    Profil​(java.lang.String nom, org.fusesource.jansi.Ansi.Color couleur)  
  • Method Summary

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • nom

      public final java.lang.String nom
    • couleur

      public final org.fusesource.jansi.Ansi.Color couleur
    • score

      public int score
  • Constructor Details

    • Profil

      public Profil​(java.lang.String nom, org.fusesource.jansi.Ansi.Color couleur)