mirror of
https://github.com/guezoloic/racing-game.git
synced 2026-03-31 19:21:38 +00:00
feat: enlever gameview observer et ajout dans l'observer de base
This commit is contained in:
@@ -177,12 +177,9 @@ public class Car
|
||||
}
|
||||
|
||||
/**
|
||||
* Représentation textuelle de la voiture (son nom)
|
||||
*
|
||||
* @return nom de la voiture
|
||||
*/
|
||||
@Override
|
||||
public String toString()
|
||||
public String getName()
|
||||
{
|
||||
return this.name;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user