Class Joueur

java.lang.Object
com.company.gameplay.Joueur

class Joueur
extends java.lang.Object
Représente un joueur lors d'une partie
  • Field Summary

    Fields
    Modifier and Type Field Description
    org.fusesource.jansi.Ansi.Color couleur
    Identique à profil.couleur
    private boolean elimine  
    java.lang.String nom
    Identique à profil.nom
    int posX  
    int posY  
    Profil profil  
  • Constructor Summary

    Constructors
    Constructor Description
    Joueur​(Profil profil)  
  • Method Summary

    Modifier and Type Method Description
    void eliminer()
    Déclare le joueur éliminer
    boolean estElimine()  

    Methods inherited from class java.lang.Object

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

    • profil

      public final Profil profil
    • nom

      public final java.lang.String nom
      Identique à profil.nom
    • couleur

      public final org.fusesource.jansi.Ansi.Color couleur
      Identique à profil.couleur
    • posX

      public int posX
    • posY

      public int posY
    • elimine

      private boolean elimine
  • Constructor Details

    • Joueur

      public Joueur​(Profil profil)
  • Method Details

    • estElimine

      public boolean estElimine()
    • eliminer

      public void eliminer()
      Déclare le joueur éliminer