mirror of
https://github.com/guezoloic/L3-racing-game.git
synced 2026-03-31 04:11:33 +00:00
feat: ajout getters
This commit is contained in:
@@ -7,6 +7,7 @@ public class Game
|
||||
private Map map;
|
||||
|
||||
private ArrayList<GObserver> obs;
|
||||
private final int time = 1000;
|
||||
|
||||
public static class Builder
|
||||
{
|
||||
@@ -122,7 +123,7 @@ public class Game
|
||||
try
|
||||
{
|
||||
step();
|
||||
Thread.sleep(1000);
|
||||
Thread.sleep(time);
|
||||
}
|
||||
catch (InterruptedException e)
|
||||
{ e.printStackTrace(); }
|
||||
|
||||
Reference in New Issue
Block a user