feat(Game): ajout commentaire et ajout fonction setup

This commit is contained in:
2025-12-19 18:46:27 +01:00
parent 1bbccc4acc
commit 86383155cd
5 changed files with 303 additions and 89 deletions

View File

@@ -77,7 +77,12 @@ public abstract class CarDecorator implements Car {
}
@Override
public void accept(Game game) {
car.accept(game);
public void setup(Game game) {
car.setup(game);
}
@Override
public void end() {
car.end();
}
}