mirror of
https://github.com/guezoloic/L3-racing-game.git
synced 2026-03-31 12:21:34 +00:00
fix: correction bug
This commit is contained in:
@@ -2,7 +2,7 @@ package model.car;
|
||||
|
||||
import java.awt.Color;
|
||||
|
||||
import model.map.Map;
|
||||
import model.Game;
|
||||
|
||||
public abstract class CarDecorator implements Car {
|
||||
protected final Car car;
|
||||
@@ -77,7 +77,7 @@ public abstract class CarDecorator implements Car {
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setMap(Map map) {
|
||||
car.setMap(map);
|
||||
public void accept(Game game) {
|
||||
car.accept(game);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user