Started to make the vote time dynamic by adding a Timer class and adjusting some of the others. Doesn't work properly yet, though

This commit is contained in:
Seraina
2022-04-28 08:34:32 +02:00
parent a3af5d8911
commit 39d0b76f69
7 changed files with 93 additions and 7 deletions

View File

@@ -1,5 +1,17 @@
package ch.unibas.dmi.dbis.cs108.gamelogic.klassenstruktur;
import org.junit.jupiter.api.Test;
public class GameStateTests {
@Test
public void testGetGhostPositions() {
Passenger[] passengers = {new GhostNPC(0, "hansli", true), new HumanPlayer(1,"berta",null,false),
new GhostPlayer(2, "uhu", null, false), new HumanNPC(3, "vreneli"), new GhostNPC(4, "...", false),
new GhostPlayer(5, "last one", null, false)};
boolean[] check = {true,false,true,false,true,true};
boolean[] test = passengers
}
}