mirror of
https://github.com/michaelrausch/Party-Parrots-At-Sea.git
synced 2026-05-09 06:18:44 +00:00
WIP: Marks randomly appear in course now. Mark arrows broken.
Something about sending raceXML during the course of the race breaks the mark rounding arrows functionallity, crashing the game. #story[1250]
This commit is contained in:
@@ -98,16 +98,6 @@ public class GameState implements Runnable {
|
||||
yachts = new HashMap<>();
|
||||
tokens = new ArrayList<>();
|
||||
|
||||
//TEMP TEST STUFF
|
||||
// TODO: 29/08/17 wmu16 - Take this out!
|
||||
tokens.add(new Token(TokenType.BOOST, 57.66946, 11.83154));
|
||||
tokens.add(new Token(TokenType.BOOST, 57.66877, 11.83382));
|
||||
tokens.add(new Token(TokenType.BOOST, 57.66914, 11.83965));
|
||||
tokens.add(new Token(TokenType.BOOST, 57.66684, 11.83214));
|
||||
;
|
||||
|
||||
//TEMP TEST STUFF
|
||||
|
||||
players = new ArrayList<>();
|
||||
GameState.hostIpAddress = hostIpAddress;
|
||||
customizationFlag = false;
|
||||
@@ -162,6 +152,10 @@ public class GameState implements Runnable {
|
||||
return tokens;
|
||||
}
|
||||
|
||||
public static void clearTokens() {
|
||||
tokens.clear();
|
||||
}
|
||||
|
||||
public static void addPlayer(Player player) {
|
||||
players.add(player);
|
||||
String playerText = player.getYacht().getSourceId() + " " + player.getYacht().getBoatName()
|
||||
|
||||
Reference in New Issue
Block a user