mirror of
https://github.com/guezoloic/L3-racing-game.git
synced 2026-03-31 12:21:34 +00:00
feat: modification et correction decorator voiture
This commit is contained in:
@@ -10,25 +10,23 @@ public interface Car extends Observer {
|
||||
|
||||
public String decelerate();
|
||||
|
||||
public void move();
|
||||
|
||||
public void reverse(boolean active);
|
||||
|
||||
public Color getColor();
|
||||
|
||||
public void consumption(boolean active);
|
||||
|
||||
public String getName();
|
||||
|
||||
|
||||
public int getPosition();
|
||||
|
||||
|
||||
public int getScore();
|
||||
|
||||
|
||||
public int getRound();
|
||||
|
||||
|
||||
public int getFuel();
|
||||
|
||||
|
||||
public State getState();
|
||||
public Color getColor();
|
||||
|
||||
public void setMap(Map map);
|
||||
|
||||
public void consumeFuel();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user