From e864272f898b88c80433919a21c3d344fef78515 Mon Sep 17 00:00:00 2001 From: Sten Laane <21343173+StenAL@users.noreply.github.com> Date: Thu, 23 May 2024 08:55:48 +0300 Subject: [PATCH 1/7] Remove "Game" prefix from most classes in agolf package These classes are unique to the context and adding the verbosity of "Game" does not clarify anything so the prefix can be removed. --- .../{GameChatPanel.java => ChatPanel.java} | 4 +- .../java/agolf/game/GameControlPanel.java | 8 +- .../src/main/java/agolf/game/GamePanel.java | 128 +++++++++--------- ...yerInfoPanel.java => PlayerInfoPanel.java} | 8 +- ...PanelTimerThread.java => TimerThread.java} | 10 +- ...rackInfoPanel.java => TrackInfoPanel.java} | 4 +- doc/uml/org.moparforia.client.svg | 56 ++++---- 7 files changed, 109 insertions(+), 109 deletions(-) rename client/src/main/java/agolf/game/{GameChatPanel.java => ChatPanel.java} (97%) rename client/src/main/java/agolf/game/{GamePlayerInfoPanel.java => PlayerInfoPanel.java} (98%) rename client/src/main/java/agolf/game/{GamePlayerInfoPanelTimerThread.java => TimerThread.java} (57%) rename client/src/main/java/agolf/game/{GameTrackInfoPanel.java => TrackInfoPanel.java} (99%) diff --git a/client/src/main/java/agolf/game/GameChatPanel.java b/client/src/main/java/agolf/game/ChatPanel.java similarity index 97% rename from client/src/main/java/agolf/game/GameChatPanel.java rename to client/src/main/java/agolf/game/ChatPanel.java index fe7e68a6..1ecfab02 100644 --- a/client/src/main/java/agolf/game/GameChatPanel.java +++ b/client/src/main/java/agolf/game/ChatPanel.java @@ -17,7 +17,7 @@ import java.awt.event.KeyEvent; import java.awt.event.KeyListener; -class GameChatPanel extends Panel implements KeyListener, ActionListener { +class ChatPanel extends Panel implements KeyListener, ActionListener { private static final int[] anIntArray330 = new int[]{3, 1, 4, 2}; private GameContainer gameContainer; @@ -30,7 +30,7 @@ class GameChatPanel extends Panel implements KeyListener, ActionListener { private boolean created; - protected GameChatPanel(GameContainer gameContainer, int width, int height, int gameExtra) { + protected ChatPanel(GameContainer gameContainer, int width, int height, int gameExtra) { this.gameContainer = gameContainer; this.width = width; this.height = height; diff --git a/client/src/main/java/agolf/game/GameControlPanel.java b/client/src/main/java/agolf/game/GameControlPanel.java index 6cd0b660..bc177715 100644 --- a/client/src/main/java/agolf/game/GameControlPanel.java +++ b/client/src/main/java/agolf/game/GameControlPanel.java @@ -17,7 +17,7 @@ class GameControlPanel extends Panel implements ActionListener, ItemListener { private GameContainer gameContainer; - private GamePlayerInfoPanel aGamePlayerInfoPanel__341; + private PlayerInfoPanel playerInfoPanel; private int anInt342; private int anInt343; private int playerCount; @@ -29,9 +29,9 @@ class GameControlPanel extends Panel implements ActionListener, ItemListener { private boolean skipButtonVisible; - protected GameControlPanel(GameContainer var1, GamePlayerInfoPanel var2, int var3, int var4) { + protected GameControlPanel(GameContainer var1, PlayerInfoPanel var2, int var3, int var4) { this.gameContainer = var1; - this.aGamePlayerInfoPanel__341 = var2; + this.playerInfoPanel = var2; this.anInt342 = var3; this.anInt343 = var4; this.setSize(var3, var4); @@ -68,7 +68,7 @@ public void actionPerformed(ActionEvent event) { this.setVisible(false); this.remove(this.buttonNewGame); this.setVisible(true); - this.aGamePlayerInfoPanel__341.readyForNewGameLocal(); + this.playerInfoPanel.readyForNewGameLocal(); this.gameContainer.gamePanel.requestNewGame(); } else if (source == this.buttonBack) { this.buttonBack.removeActionListener(this); diff --git a/client/src/main/java/agolf/game/GamePanel.java b/client/src/main/java/agolf/game/GamePanel.java index 46b74549..f8b8cb81 100644 --- a/client/src/main/java/agolf/game/GamePanel.java +++ b/client/src/main/java/agolf/game/GamePanel.java @@ -15,10 +15,10 @@ public class GamePanel extends Panel { private GameContainer gameContainer; private int width; private int height; - private GamePlayerInfoPanel gamePlayerInfoPanel; + private PlayerInfoPanel playerInfoPanel; private GameCanvas gameCanvas; - private GameChatPanel gameChatPanel; - private GameTrackInfoPanel gameTrackInfoPanel; + private ChatPanel chatPanel; + private TrackInfoPanel trackInfoPanel; private GameControlPanel gameControlPanel; protected int state; private int playerCount; @@ -81,8 +81,8 @@ public void handlePacket(String[] args) { } this.addMultiPlayerPanels(mode); - this.gamePlayerInfoPanel.init(this.playerCount, trackCount, maxStrokes, strokeTimeout, trackScoring); - this.gameTrackInfoPanel.setNumTracks(trackCount); + this.playerInfoPanel.init(this.playerCount, trackCount, maxStrokes, strokeTimeout, trackScoring); + this.trackInfoPanel.setNumTracks(trackCount); this.gameControlPanel.setPlayerCount(this.playerCount); this.gameCanvas.init(this.playerCount, waterEvent, collision); if (mode == 2) { @@ -131,8 +131,8 @@ public void handlePacket(String[] args) { settings = settings + ", " + (trackCategory == 0 ? "official" : (trackCategory == 1 ? "custom" : "unknown")) + " maps"; }*/ - this.gameChatPanel.addMessage(this.gameContainer.textManager.getGame("GameChat_GameName", gameName)); - this.gameChatPanel.addMessage(this.gameContainer.textManager.getGame("GameChat_GameSettings", settings)); + this.chatPanel.addMessage(this.gameContainer.textManager.getGame("GameChat_GameName", gameName)); + this.chatPanel.addMessage(this.gameContainer.textManager.getGame("GameChat_GameSettings", settings)); } } else if (args[1].equals("scoringmulti")) { @@ -143,7 +143,7 @@ public void handlePacket(String[] args) { trackScoresMultipliers[track] = Integer.parseInt(args[2 + track]); } - this.gamePlayerInfoPanel.setTrackScoresMultipliers(trackScoresMultipliers); + this.playerInfoPanel.setTrackScoresMultipliers(trackScoresMultipliers); } else if (args[1].equals("players")) { int len = (args.length - 2) / 3; int playerCountIndex = 2; @@ -151,8 +151,8 @@ public void handlePacket(String[] args) { for (int trackTypes = 0; trackTypes < len; ++trackTypes) { int playerCount = Integer.parseInt(args[playerCountIndex]);//todo lol why u inside the loop tho String clan = args[playerCountIndex + 2].equals("-") ? null : args[playerCountIndex + 2]; - this.gamePlayerInfoPanel.addPlayer(playerCount, args[playerCountIndex + 1], clan, false); - this.gameChatPanel.setUserColour(args[playerCountIndex + 1], playerCount); + this.playerInfoPanel.addPlayer(playerCount, args[playerCountIndex + 1], clan, false); + this.chatPanel.setUserColour(args[playerCountIndex + 1], playerCount); playerCountIndex += 3; } @@ -160,33 +160,33 @@ public void handlePacket(String[] args) { else if (args[1].equals("owninfo")) { int currentPlayerID = Integer.parseInt(args[2]); String currentPlayerClan = args[4].equals("-") ? null : args[4]; - this.gamePlayerInfoPanel.addPlayer(currentPlayerID, args[3], currentPlayerClan, true); - this.gameChatPanel.setUserColour(args[3], currentPlayerID); + this.playerInfoPanel.addPlayer(currentPlayerID, args[3], currentPlayerClan, true); + this.chatPanel.setUserColour(args[3], currentPlayerID); this.aLong364 = System.currentTimeMillis(); } else if (args[1].equals("join")) { int playerId = Integer.parseInt(args[2]); String playerClan = args[4].equals("-") ? null : args[4]; - this.gamePlayerInfoPanel.addPlayer(playerId, args[3], playerClan, false); - this.gameChatPanel.setUserColour(args[3], playerId); + this.playerInfoPanel.addPlayer(playerId, args[3], playerClan, false); + this.chatPanel.setUserColour(args[3], playerId); if (this.playerCount != 2 || playerId != 1) { - this.gameChatPanel.addMessage(playerClan != null ? this.gameContainer.textManager.getGame("GameChat_JoinClan", args[3], playerClan) : this.gameContainer.textManager.getGame("GameChat_Join", args[3])); + this.chatPanel.addMessage(playerClan != null ? this.gameContainer.textManager.getGame("GameChat_JoinClan", args[3], playerClan) : this.gameContainer.textManager.getGame("GameChat_Join", args[3])); } } else if (args[1].equals("part")) { // player left game int playerId = Integer.parseInt(args[2]); - boolean changed = this.gamePlayerInfoPanel.setPlayerPartStatus(playerId, Integer.parseInt(args[3])); + boolean changed = this.playerInfoPanel.setPlayerPartStatus(playerId, Integer.parseInt(args[3])); if (changed) { this.gameControlPanel.method329(); } - String playerName = this.gamePlayerInfoPanel.playerNames[playerId]; - this.gameChatPanel.addMessage(this.gameContainer.textManager.getGame("GameChat_Part", playerName)); - this.gameChatPanel.removeUserColour(playerName); + String playerName = this.playerInfoPanel.playerNames[playerId]; + this.chatPanel.addMessage(this.gameContainer.textManager.getGame("GameChat_Part", playerName)); + this.chatPanel.removeUserColour(playerName); this.gameControlPanel.refreshBackButton(); } else if (args[1].equals("say")) { int playerId = Integer.parseInt(args[2]); - this.gameChatPanel.addSay(playerId, this.gamePlayerInfoPanel.playerNames[playerId], args[3], false); + this.chatPanel.addSay(playerId, this.playerInfoPanel.playerNames[playerId], args[3], false); } else if (args[1].equals("cr")) { // get results to compare track score against StringTokenizer tokenizer = new StringTokenizer(args[2], ","); int tracks = tokenizer.countTokens(); @@ -202,7 +202,7 @@ else if (args[1].equals("part")) { // player left game } } - this.gamePlayerInfoPanel.initResultsComparison(comparisonScores); + this.playerInfoPanel.initResultsComparison(comparisonScores); } else if (args[1].equals("start")) { if (this.playerCount > 1) { if (this.aBoolean363) { @@ -211,7 +211,7 @@ else if (args[1].equals("part")) { // player left game //this.requestFocus();//todo this is annoying as fuck } - this.gameContainer.gameApplet.showPlayerList(this.gamePlayerInfoPanel.getPlayerNames()); + this.gameContainer.gameApplet.showPlayerList(this.playerInfoPanel.getPlayerNames()); } else { this.gameContainer.gameApplet.removePlayerListWinnders(); } @@ -219,8 +219,8 @@ else if (args[1].equals("part")) { // player left game this.aBoolean363 = false; this.gameCanvas.createMap(16777216); - this.gamePlayerInfoPanel.reset(); - this.gameTrackInfoPanel.resetCurrentTrack(); + this.playerInfoPanel.reset(); + this.trackInfoPanel.resetCurrentTrack(); this.setState(1); } else if (args[1].equals("starttrack")) { @@ -307,35 +307,35 @@ else if (args[1].equals("starttrack")) { String[] trackInformation = this.gameCanvas.generateTrackInformation(); int[][] trackStats = this.gameCanvas.generateTrackStatistics(); - this.gameTrackInfoPanel.parseTrackInfoStats(trackInformation[0], trackInformation[1], trackStats[0], trackStats[1], trackInformation[2], trackInformation[3], trackTestMode1, trackTestMode2, this.gameCanvas.method134()); + this.trackInfoPanel.parseTrackInfoStats(trackInformation[0], trackInformation[1], trackStats[0], trackStats[1], trackInformation[2], trackInformation[3], trackTestMode1, trackTestMode2, this.gameCanvas.method134()); - int trackScoreMultiplier = this.gamePlayerInfoPanel.startNextTrack(); + int trackScoreMultiplier = this.playerInfoPanel.startNextTrack(); if (trackScoreMultiplier > 1) { - this.gameChatPanel.addMessage(gameContainer.textManager.getGame("GameChat_ScoreMultiNotify", trackScoreMultiplier)); + this.chatPanel.addMessage(gameContainer.textManager.getGame("GameChat_ScoreMultiNotify", trackScoreMultiplier)); } this.gameControlPanel.displaySkipButton(); // checks if you can skip on first shot if (this.gameContainer.synchronizedTrackTestMode.get()) { - this.gameChatPanel.printSpecialSettingstoTextArea(this.gameCanvas.getTrackComment(), this.gameCanvas.getTrackSettings(), this.gameCanvas.method120()); + this.chatPanel.printSpecialSettingstoTextArea(this.gameCanvas.getTrackComment(), this.gameCanvas.getTrackSettings(), this.gameCanvas.method120()); } } else if (args[1].equals("startturn")) { this.isWaitingForTurnStart = false; int playerId = Integer.parseInt(args[2]); - boolean canPlay = this.gamePlayerInfoPanel.startTurn(playerId); + boolean canPlay = this.playerInfoPanel.startTurn(playerId); //canPlay = true; - this.gameCanvas.startTurn(playerId, canPlay, !this.gameChatPanel.haveFocus()); + this.gameCanvas.startTurn(playerId, canPlay, !this.chatPanel.haveFocus()); if (!this.isSinglePlayerGame) { - int trackCount = this.gamePlayerInfoPanel.method377(); - if (trackCount >= 10 || trackCount >= this.gameTrackInfoPanel.method385()) { + int trackCount = this.playerInfoPanel.method377(); + if (trackCount >= 10 || trackCount >= this.trackInfoPanel.method385()) { this.gameControlPanel.showSkipButton(); } } } else if (args[1].equals("beginstroke")) { int playerId = Integer.parseInt(args[2]); - this.gamePlayerInfoPanel.strokeStartedOrEnded(playerId, false); + this.playerInfoPanel.strokeStartedOrEnded(playerId, false); this.gameContainer.soundManager.playGameMove(); this.gameCanvas.decodeCoords(playerId, false, args[3]); @@ -347,19 +347,19 @@ else if (args[1].equals("starttrack")) { trackScores[trackCount] = Integer.parseInt(args[3 + trackCount]); } - this.gamePlayerInfoPanel.setScores(Integer.parseInt(args[2]), trackScores); + this.playerInfoPanel.setScores(Integer.parseInt(args[2]), trackScores); } else if (args[1].equals("voteskip")) { - this.gamePlayerInfoPanel.voteSkip(Integer.parseInt(args[2])); + this.playerInfoPanel.voteSkip(Integer.parseInt(args[2])); } else if (args[1].equals("resetvoteskip")) { - this.gamePlayerInfoPanel.voteSkipReset(); - if (!this.gameCanvas.getSynchronizedBool(this.gamePlayerInfoPanel.playerId)) { + this.playerInfoPanel.voteSkipReset(); + if (!this.gameCanvas.getSynchronizedBool(this.playerInfoPanel.playerId)) { this.gameControlPanel.showSkipButton(); } } else if (args[1].equals("rfng")) { - this.gamePlayerInfoPanel.readyForNewGame(Integer.parseInt(args[2])); + this.playerInfoPanel.readyForNewGame(Integer.parseInt(args[2])); } else if(args[1].equals("end")) { this.gameCanvas.endGame(); @@ -373,10 +373,10 @@ else if(args[1].equals("end")) { isWinner[i] = gameOutcome[i] == 1; } - this.gamePlayerInfoPanel.setGameOutcome(gameOutcome); + this.playerInfoPanel.setGameOutcome(gameOutcome); this.gameContainer.gameApplet.showPlayerListWinners(isWinner); } else { - this.gamePlayerInfoPanel.setGameOutcome(null); + this.playerInfoPanel.setGameOutcome(null); } this.setState(2);// game state? @@ -391,12 +391,12 @@ else if(args[1].equals("end")) { protected void sendChatMessage(String message) { String var2 = "say\t" + message; this.gameContainer.connection.writeData("game\t" + var2); - this.gameChatPanel.addSay(this.gamePlayerInfoPanel.playerId, this.gamePlayerInfoPanel.playerNames[this.gamePlayerInfoPanel.playerId], message, true); + this.chatPanel.addSay(this.playerInfoPanel.playerId, this.playerInfoPanel.playerNames[this.playerInfoPanel.playerId], message, true); } protected void setBeginStroke(int playerId, int x, int y, int shootingMode) { - this.gameTrackInfoPanel.method384(); - this.gamePlayerInfoPanel.strokeStartedOrEnded(playerId, false); + this.trackInfoPanel.method384(); + this.playerInfoPanel.strokeStartedOrEnded(playerId, false); String data = "beginstroke\t" + this.encodeCoords(x, y, shootingMode); this.gameContainer.connection.writeData("game\t" + data); this.gameContainer.soundManager.playGameMove(); @@ -405,7 +405,7 @@ protected void setBeginStroke(int playerId, int x, int y, int shootingMode) { protected void method336() { String var1 = this.gameCanvas.method142(); if (var1 != null) { - this.gamePlayerInfoPanel.strokeStartedOrEnded(0, false); + this.playerInfoPanel.strokeStartedOrEnded(0, false); String var2 = "beginstroke\t" + var1; this.gameContainer.connection.writeData("game\t" + var2); this.gameCanvas.decodeCoords(0, true, var1); @@ -413,7 +413,7 @@ protected void method336() { } protected boolean isValidPlayerID(int player) { - return this.gamePlayerInfoPanel.isOverStrokeLimit(player); + return this.playerInfoPanel.isOverStrokeLimit(player); } protected void sendEndStroke(int playerid, SynchronizedBool[] settings, int var3) { @@ -421,7 +421,7 @@ protected void sendEndStroke(int playerid, SynchronizedBool[] settings, int var3 for (int index = 0; index < settings.length; ++index) { if (var3 == index && !settings[index].get()) { - this.gamePlayerInfoPanel.strokeStartedOrEnded(index, true); + this.playerInfoPanel.strokeStartedOrEnded(index, true); data = data + "p"; } else { data = data + (settings[index].get() ? "t" : "f"); @@ -434,8 +434,8 @@ protected void sendEndStroke(int playerid, SynchronizedBool[] settings, int var3 protected boolean skipButtonPressed(boolean isSinglePlayer) { if (this.state == 1) { if (!isSinglePlayer) { - this.gamePlayerInfoPanel.voteSkip(); - if (this.gamePlayerInfoPanel.shouldSkipTrack() && this.gameCanvas.method137()) { + this.playerInfoPanel.voteSkip(); + if (this.playerInfoPanel.shouldSkipTrack() && this.gameCanvas.method137()) { this.gameCanvas.restartGame(); } @@ -445,7 +445,7 @@ protected boolean skipButtonPressed(boolean isSinglePlayer) { if (this.gameCanvas.method137()) { this.gameCanvas.restartGame(); - this.gamePlayerInfoPanel.method372(); + this.playerInfoPanel.method372(); this.gameContainer.connection.writeData("game\tskip"); return true; } @@ -464,7 +464,7 @@ protected void requestNewGame() { protected void leaveGame() { this.gameCanvas.restartGame(); - this.gamePlayerInfoPanel.stopTimer(); + this.playerInfoPanel.stopTimer(); this.gameContainer.gameApplet.setGameState(0); this.gameContainer.connection.writeData("game\tback"); this.gameContainer.gameApplet.removePlayerList(); @@ -490,7 +490,7 @@ protected boolean maxFps() { } protected String[] getPlayerName(int playerId) { - return this.gamePlayerInfoPanel.getPlayerName(playerId); + return this.playerInfoPanel.getPlayerName(playerId); } protected void setPlayerNamesDisplayMode(int mode) { @@ -498,7 +498,7 @@ protected void setPlayerNamesDisplayMode(int mode) { } public void broadcastMessage(String message) { - this.gameChatPanel.addBroadcastMessage(message); + this.chatPanel.addBroadcastMessage(message); } protected boolean tryStroke(boolean didTimeout) { @@ -513,7 +513,7 @@ protected boolean tryStroke(boolean didTimeout) { if (didTimeout) { this.gameCanvas.doZeroLengthStroke(); } else { - this.gamePlayerInfoPanel.stopTimer(); + this.playerInfoPanel.stopTimer(); } return true; @@ -522,13 +522,13 @@ protected boolean tryStroke(boolean didTimeout) { private void create(Image image) { if (this.gameContainer.gameApplet.syncIsValidSite.get()) { this.setLayout(null); - this.gamePlayerInfoPanel = new GamePlayerInfoPanel(this.gameContainer, 735, 60); - this.gamePlayerInfoPanel.setLocation(0, 0); - this.add(this.gamePlayerInfoPanel); + this.playerInfoPanel = new PlayerInfoPanel(this.gameContainer, 735, 60); + this.playerInfoPanel.setLocation(0, 0); + this.add(this.playerInfoPanel); this.gameCanvas = new GameCanvas(this.gameContainer, image); this.gameCanvas.setLocation(0, 65); this.add(this.gameCanvas); - this.gameControlPanel = new GameControlPanel(this.gameContainer, this.gamePlayerInfoPanel, 95, 80); + this.gameControlPanel = new GameControlPanel(this.gameContainer, this.playerInfoPanel, 95, 80); this.gameControlPanel.setLocation(this.width - 95, 445); this.add(this.gameControlPanel); } @@ -538,12 +538,12 @@ private void addMultiPlayerPanels(int mode) { if (this.gameContainer.gameApplet.syncIsValidSite.get()) { this.setVisible(false); int var2 = mode > 0 ? 265 : 400; - this.gameChatPanel = new GameChatPanel(this.gameContainer, this.width - 100 - 5 - var2 - 5, 80, mode); - this.gameChatPanel.setLocation(0, 445); - this.add(this.gameChatPanel); - this.gameTrackInfoPanel = new GameTrackInfoPanel(this.gameContainer, var2, 80, mode == 0); - this.gameTrackInfoPanel.setLocation(this.width - 100 - 5 - var2, 445); - this.add(this.gameTrackInfoPanel); + this.chatPanel = new ChatPanel(this.gameContainer, this.width - 100 - 5 - var2 - 5, 80, mode); + this.chatPanel.setLocation(0, 445); + this.add(this.chatPanel); + this.trackInfoPanel = new TrackInfoPanel(this.gameContainer, var2, 80, mode == 0); + this.trackInfoPanel.setLocation(this.width - 100 - 5 - var2, 445); + this.add(this.trackInfoPanel); this.setVisible(true); } } @@ -551,7 +551,7 @@ private void addMultiPlayerPanels(int mode) { private void setState(int state) { if (state != this.state) { this.state = state; - this.gamePlayerInfoPanel.setState(state); + this.playerInfoPanel.setState(state); this.gameControlPanel.setState(state); } } diff --git a/client/src/main/java/agolf/game/GamePlayerInfoPanel.java b/client/src/main/java/agolf/game/PlayerInfoPanel.java similarity index 98% rename from client/src/main/java/agolf/game/GamePlayerInfoPanel.java rename to client/src/main/java/agolf/game/PlayerInfoPanel.java index dca01dbc..cf32befc 100644 --- a/client/src/main/java/agolf/game/GamePlayerInfoPanel.java +++ b/client/src/main/java/agolf/game/PlayerInfoPanel.java @@ -15,7 +15,7 @@ import java.awt.event.MouseEvent; import java.awt.event.MouseListener; -class GamePlayerInfoPanel extends Panel implements ItemListener, MouseListener { +class PlayerInfoPanel extends Panel implements ItemListener, MouseListener { private static final Font fontDialog12 = new Font("Dialog", Font.PLAIN, 12); private static final Font fontDialog12b = new Font("Dialog", Font.BOLD, 12); @@ -55,11 +55,11 @@ class GamePlayerInfoPanel extends Panel implements ItemListener, MouseListener { private Choicer compareResultsChoicer; private Image image; private Graphics graphics; - private GamePlayerInfoPanelTimerThread timerThread; + private TimerThread timerThread; private int currentTimeForShot; - protected GamePlayerInfoPanel(GameContainer gameContainer, int width, int height) { + protected PlayerInfoPanel(GameContainer gameContainer, int width, int height) { this.gameContainer = gameContainer; this.width = width; this.height = height; @@ -393,7 +393,7 @@ protected boolean startTurn(int playerId) { if (this.playerCount > 1 && playerId == this.playerId) { this.stopTimer(); this.currentTimeForShot = timeout; - this.timerThread = new GamePlayerInfoPanelTimerThread(this); + this.timerThread = new TimerThread(this); } this.repaint(); diff --git a/client/src/main/java/agolf/game/GamePlayerInfoPanelTimerThread.java b/client/src/main/java/agolf/game/TimerThread.java similarity index 57% rename from client/src/main/java/agolf/game/GamePlayerInfoPanelTimerThread.java rename to client/src/main/java/agolf/game/TimerThread.java index 7fc923c9..61d74ba7 100644 --- a/client/src/main/java/agolf/game/GamePlayerInfoPanelTimerThread.java +++ b/client/src/main/java/agolf/game/TimerThread.java @@ -2,14 +2,14 @@ import com.aapeli.tools.Tools; -class GamePlayerInfoPanelTimerThread implements Runnable { +class TimerThread implements Runnable { - private final GamePlayerInfoPanel gamePlayerInfoPanel; + private final PlayerInfoPanel playerInfoPanel; private boolean running; - protected GamePlayerInfoPanelTimerThread(GamePlayerInfoPanel gamePlayerInfoPanel) { - this.gamePlayerInfoPanel = gamePlayerInfoPanel; + protected TimerThread(PlayerInfoPanel playerInfoPanel) { + this.playerInfoPanel = playerInfoPanel; this.running = true; Thread thread = new Thread(this); thread.setDaemon(true); @@ -20,7 +20,7 @@ public void run() { do { Tools.sleep(1000L); if (this.running) { - this.running = this.gamePlayerInfoPanel.run(); + this.running = this.playerInfoPanel.run(); } } while (this.running); diff --git a/client/src/main/java/agolf/game/GameTrackInfoPanel.java b/client/src/main/java/agolf/game/TrackInfoPanel.java similarity index 99% rename from client/src/main/java/agolf/game/GameTrackInfoPanel.java rename to client/src/main/java/agolf/game/TrackInfoPanel.java index 2a147a85..60ae643c 100644 --- a/client/src/main/java/agolf/game/GameTrackInfoPanel.java +++ b/client/src/main/java/agolf/game/TrackInfoPanel.java @@ -13,7 +13,7 @@ import java.awt.event.ActionEvent; import java.awt.event.ActionListener; -class GameTrackInfoPanel extends Panel implements ActionListener { +class TrackInfoPanel extends Panel implements ActionListener { private static final Font fontDialog12 = new Font("Dialog", 0, 12); private static final Font fontDialog14 = new Font("Dialog", 0, 14); @@ -59,7 +59,7 @@ class GameTrackInfoPanel extends Panel implements ActionListener { private boolean created; - protected GameTrackInfoPanel(GameContainer gameContainer, int width, int height, boolean var4) { + protected TrackInfoPanel(GameContainer gameContainer, int width, int height, boolean var4) { this.gameContainer = gameContainer; this.width = width; this.height = height; diff --git a/doc/uml/org.moparforia.client.svg b/doc/uml/org.moparforia.client.svg index 6f7c90a0..6e021be1 100644 --- a/doc/uml/org.moparforia.client.svg +++ b/doc/uml/org.moparforia.client.svg @@ -19,12 +19,12 @@ class agolf.TrackTestLoginPanel-->ConfirmButtonactionListener : java.awt.event.ActionListenercolourBackground : java.awt.ColorcolourBackgroundBrighter : java.awt.ColorcolourBackgroundBrightest : java.awt.ColorcolourBackgroundDarker : java.awt.ColorcolourBlack : java.awt.ColorcolourForeground : java.awt.ColorcolourWhite : java.awt.Colorfont : java.awt.FontfontDialog12 : java.awt.FontfontMetrics : java.awt.FontMetricsfontSize : intmouseDown : booleanmouseHover : booleanstate : inttext : StringtextConfirm : StringaddNotify () : voidfireAction () : voidmouseClicked ( paramMouseEvent1 : java.awt.event.MouseEvent ) : voidmouseDragged ( paramMouseEvent1 : java.awt.event.MouseEvent ) : voidmouseEntered ( paramMouseEvent1 : java.awt.event.MouseEvent ) : voidmouseExited ( paramMouseEvent1 : java.awt.event.MouseEvent ) : voidmouseMoved ( paramMouseEvent1 : java.awt.event.MouseEvent ) : voidmousePressed ( paramMouseEvent1 : java.awt.event.MouseEvent ) : voidmouseReleased ( paramMouseEvent1 : java.awt.event.MouseEvent ) : voidpaint ( paramGraphics1 : java.awt.Graphics ) : voidsaturate ( paramColor1 : java.awt.Color , paramint2 : int ) : java.awt.ColorsetBackground ( paramColor1 : java.awt.Color ) : voidsetForeground ( paramColor1 : java.awt.Color ) : voidupdate ( paramGraphics1 : java.awt.Graphics ) : voidGameBackgroundCanvasaBooleanArray98 : [ZaColor75 : java.awt.ColoraGraphics85 : java.awt.GraphicsaStringArray100 : [Ljava.lang.String;aStringArray80 : [Ljava.lang.String;anInt99 : intanIntArray78 : [IanIntArray79 : [IanIntArrayArray97 : [[IbackgroundImg : java.awt.ImagedefaultTrackSettings : Stringimage : java.awt.ImageisSolidArrayIThink : [[BmapChars : StringtrackAdvertSize : inttrackAuthor : StringtrackComment : StringtrackFirstBest : StringtrackLastBest : StringtrackName : StringtrackRatings : [ItrackSettings : StringtrackSpecialSettings : [ZtrackStats : [ItrackTiles : [[IaddNotify () : voidcheckSolidTile ( paramint1 : int , paramint2 : int ) : voidcheckSolids () : voiddrawForegroundMap () : voiddrawMap ( paramint1 : int ) : voidexpandMap ( paramString1 : String ) : StringgenerateTrackInformation () : [Ljava.lang.String;generateTrackStatistics () : [[IgetTileAt ( paramint1 : int , paramint2 : int ) : java.awt.Imagemethod120 () : [Zmethod123 ( paramString1 : String , paramint2 : int ) : intmethod126 ( paramint1 : int , paramint2 : int ) : booleanmethod127 ( paramint1 : int , paramint2 : int ) : booleanmethod128 ( param[I1 : [I , paramint2 : int , paramint3 : int , paramint4 : int , paramint5 : int ) : voidmethod129 ( paramint1 : int , paramint2 : int , paramdouble3 : double ) : intpaint ( paramGraphics1 : java.awt.Graphics ) : voidparseMapCommands ( paramString1 : String ) : booleanparseMapInstruction ( paramString1 : String ) : booleanupdate ( paramGraphics1 : java.awt.Graphics ) : voidGameCanvasaBoolean2832 : booleanaBoolean2843 : booleanaBooleanArray2830 : [ZaBooleanArray2834 : [ZaColor2804 : java.awt.ColoraColor2805 : java.awt.ColoraDouble2798 : doubleaDouble2817 : doubleaDouble2818 : doubleaDouble2819 : doubleaDouble2820 : doubleaDoubleArray2821 : [DaDoubleArray2822 : [DaDoubleArray2828 : [DaDoubleArray2829 : [DaFont2803 : java.awt.FontaShortArrayArrayArray2825 : [[[SaString2835 : StringaSynchronizedBoolArray2831 : [Lagolf.SynchronizedBool;aThread2842 : ThreadaVectorArray2823 : [Ljava.util.Vector;aVectorArray2824 : [Ljava.util.Vector;allowCheating : booleananImage2840 : java.awt.ImageanImageArray2808 : [Ljava.awt.Image;anInt2799 : intanInt2809 : intanInt2810 : intanInt2811 : intanInt2816 : intanInt2833 : intanInt2838 : intanInt2839 : intanIntArray2837 : [IbackgroundColour : java.awt.ColorcolourAimLine : java.awt.ColorcurrentPlayerID : intcursorCrosshair : java.awt.CursorcursorDefault : java.awt.CursorgameState : intgraphics : java.awt.GraphicshackedX : doublehackedY : doubleisCheating : booleankeyCountMod4 : intmouseX : intmouseY : intplayerX : [DplayerY : [DdecodeCoords ( paramint1 : int , paramboolean2 : boolean , paramString3 : String ) : voiddoHackedStroke ( paramint1 : int , paramboolean2 : boolean , paramint3 : int , paramint4 : int , paramint5 : int ) : voiddoStroke ( paramint1 : int , paramboolean2 : boolean , paramint3 : int , paramint4 : int , paramint5 : int ) : voiddrawMap ( paramint1 : int ) : voiddrawTile ( paramint1 : int , paramint2 : int , paramGraphics3 : java.awt.Graphics , paramGraphics4 : java.awt.Graphics ) : voidendGame () : voidgetSynchronizedBool ( paramint1 : int ) : booleankeyPressed ( paramKeyEvent1 : java.awt.event.KeyEvent ) : void «synchronized»keyReleased ( paramKeyEvent1 : java.awt.event.KeyEvent ) : voidkeyTyped ( paramKeyEvent1 : java.awt.event.KeyEvent ) : voidmethod132 ( paramint1 : int , paramint2 : int , paramint3 : int ) : voidmethod134 () : booleanmethod135 ( paramint1 : int , paramboolean2 : boolean , paramboolean3 : boolean ) : voidmethod137 () : booleanmethod139 ( paramint1 : int ) : voidmethod142 () : Stringmethod145 ( paramint1 : int , paramboolean2 : boolean ) : voidmethod146 ( paramint1 : int , paramint2 : int , paramint3 : int ) : [Dmethod147 ( paramint1 : int , paramint2 : int ) : booleanmethod148 ( paramint1 : int , paramint2 : int ) : booleanmethod149 ( paramint1 : int , paramint2 : int , paramint3 : int ) : booleanmethod150 ( paramint1 : int , paramdouble2 : double ) : doublemethod151 ( paramint1 : int ) : doublemethod152 ( paramint1 : int , paramint2 : int , paramint3 : int , paramint4 : int , paramint5 : int , paramint6 : int , paramint7 : int , paramint8 : int , paramint9 : int , paramint10 : int , paramint11 : int , paramGraphics12 : java.awt.Graphics , paramGraphics13 : java.awt.Graphics ) : voidmethod153 ( paramint1 : int , paramint2 : int , paramint3 : int , paramint4 : int , paramGraphics5 : java.awt.Graphics , paramGraphics6 : java.awt.Graphics , paramint7 : int , paramint8 : int ) : doublemethod154 ( paramint1 : int , paramint2 : int , paramint3 : int , paramint4 : int ) : voidmethod155 ( paramboolean1 : boolean , paramint2 : int , paramint3 : int , paramint4 : int , paramGraphics5 : java.awt.Graphics , paramGraphics6 : java.awt.Graphics ) : voidmethod156 ( paramint1 : int , paramint2 : int , paramGraphics3 : java.awt.Graphics , paramGraphics4 : java.awt.Graphics , paramint5 : int , paramint6 : int , paramboolean7 : boolean ) : booleanmethod157 ( paramint1 : int , paramint2 : int ) : intmethod158 ( paramint1 : int , paramint2 : int , paramint3 : int , paramint4 : int , paramint5 : int , paramint6 : int , paramGraphics7 : java.awt.Graphics , paramGraphics8 : java.awt.Graphics , paramboolean9 : boolean , paramint10 : int ) : [Imethod159 ( paramint1 : int , paramint2 : int , paramGraphics3 : java.awt.Graphics , paramGraphics4 : java.awt.Graphics ) : voidmethod161 ( paramGraphics1 : java.awt.Graphics , paramint2 : int , paramdouble3 : double ) : voidmethod162 ( paramboolean1 : boolean ) : voidmethod163 ( paramGraphics1 : java.awt.Graphics , paramint2 : int , paramint3 : int , paramint4 : int , paramint5 : int ) : voidmethod164 ( paramint1 : int ) : voidmouseClicked ( paramMouseEvent1 : java.awt.event.MouseEvent ) : voidmouseDragged ( paramMouseEvent1 : java.awt.event.MouseEvent ) : voidmouseEntered ( paramMouseEvent1 : java.awt.event.MouseEvent ) : voidmouseExited ( paramMouseEvent1 : java.awt.event.MouseEvent ) : voidmouseMoved ( paramMouseEvent1 : java.awt.event.MouseEvent ) : voidmousePressed ( paramMouseEvent1 : java.awt.event.MouseEvent ) : void «synchronized»mouseReleased ( paramMouseEvent1 : java.awt.event.MouseEvent ) : voidparseMap ( paramString1 : String , paramString2 : String , paramint3 : int ) : booleanrestartGame () : voidrun () : voidstop () : voidupdate ( paramGraphics1 : java.awt.Graphics ) : voidGameChatPanelanIntArray330 : [IbuttonSay : com.aapeli.colorgui.ColorButtoncreated : booleangameExtra : intheight : inttextAreaChat : com.aapeli.multiuser.ChatTextAreatextFieldMessage : com.aapeli.client.InputTextFieldwidth : intactionPerformed ( paramActionEvent1 : java.awt.event.ActionEvent ) : voidaddBroadcastMessage ( paramString1 : String ) : voidaddMessage ( paramString1 : String ) : voidaddNotify () : voidaddSay ( paramint1 : int , paramString2 : String , paramString3 : String , paramboolean4 : boolean ) : voidcreate () : voidhaveFocus () : booleankeyPressed ( paramKeyEvent1 : java.awt.event.KeyEvent ) : voidkeyReleased ( paramKeyEvent1 : java.awt.event.KeyEvent ) : voidkeyTyped ( paramKeyEvent1 : java.awt.event.KeyEvent ) : voidmethod323 () : voidpaint ( paramGraphics1 : java.awt.Graphics ) : voidprintSpecialSettingstoTextArea ( paramString1 : String , paramString2 : String , param[Z3 : [Z ) : voidremoveUserColour ( paramString1 : String ) : voidsendMessage () : voidsetUserColour ( paramString1 : String , paramint2 : int ) : voidupdate ( paramGraphics1 : java.awt.Graphics ) : voidGameChatPanelanIntArray330 : [IbuttonSay : com.aapeli.colorgui.ColorButtoncreated : booleangameExtra : intheight : inttextAreaChat : com.aapeli.multiuser.ChatTextAreatextFieldMessage : com.aapeli.client.InputTextFieldwidth : intactionPerformed ( paramActionEvent1 : java.awt.event.ActionEvent ) : voidaddBroadcastMessage ( paramString1 : String ) : voidaddMessage ( paramString1 : String ) : voidaddNotify () : voidaddSay ( paramint1 : int , paramString2 : String , paramString3 : String , paramboolean4 : boolean ) : voidcreate () : voidhaveFocus () : booleankeyPressed ( paramKeyEvent1 : java.awt.event.KeyEvent ) : voidkeyReleased ( paramKeyEvent1 : java.awt.event.KeyEvent ) : voidkeyTyped ( paramKeyEvent1 : java.awt.event.KeyEvent ) : voidmethod323 () : voidpaint ( paramGraphics1 : java.awt.Graphics ) : voidprintSpecialSettingstoTextArea ( paramString1 : String , paramString2 : String , param[Z3 : [Z ) : voidremoveUserColour ( paramString1 : String ) : voidsendMessage () : voidsetUserColour ( paramString1 : String , paramint2 : int ) : voidupdate ( paramGraphics1 : java.awt.Graphics ) : voidGameControlPanelaStringArray351 : [Ljava.lang.String;anInt342 : intanInt343 : intbuttonBack : com.aapeli.colorgui.ColorButtonbuttonNewGame : com.aapeli.colorgui.ColorButtonbuttonSkip : com.aapeli.colorgui.ColorButtoncheckboxMaxFps : java.awt.CheckboxchoicerNames : com.aapeli.colorgui.ChoicerplayerCount : intskipButtonVisible : booleanactionPerformed ( paramActionEvent1 : java.awt.event.ActionEvent ) : voidaddNotify () : voiddisplaySkipButton () : voidhideSkipButton () : voiditemStateChanged ( paramItemEvent1 : java.awt.event.ItemEvent ) : voidmaxFps () : booleanmethod327 ( paramint1 : int ) : voidmethod329 () : voidmethod330 () : voidpaint ( paramGraphics1 : java.awt.Graphics ) : voidshowSkipButton () : voidupdate ( paramGraphics1 : java.awt.Graphics ) : voidGamePanelaBoolean363 : booleanaLong364 : longanObject365 : Objectheight : intisSinglePlayerGame : booleanisWaitingForTurn : booleanplayerCount : intstate : intwidth : intaddMultiPlayerPanels ( paramint1 : int ) : voidaddNotify () : voidbroadcastMessage ( paramString1 : String ) : voidcanStroke ( paramboolean1 : boolean ) : booleancreate ( paramImage1 : java.awt.Image ) : voidencodeCoords ( paramint1 : int , paramint2 : int , paramint3 : int ) : StringgetPlayerInfo ( paramint1 : int ) : [Ljava.lang.String;hideSkipButton () : voidisValidPlayerID ( paramint1 : int ) : booleanmaxFps () : booleanmethod333 ( paramString;1 : [Ljava.lang.String; ) : voidmethod336 () : voidmethod339 ( paramboolean1 : boolean ) : booleanmethod342 () : voidmethod345 ( paramint1 : int ) : voidmethod348 ( paramint1 : int ) : voidpaint ( paramGraphics1 : java.awt.Graphics ) : voidrateTrack ( paramint1 : int , paramint2 : int ) : voidrequestNewGame () : voidrespondNewGame ( paramint1 : int , paramboolean2 : boolean ) : voidsendChatMessage ( paramString1 : String ) : voidsendEndStroke ( paramint1 : int , paramSynchronizedBool;2 : [Lagolf.SynchronizedBool; , paramint3 : int ) : voidsetBeginStroke ( paramint1 : int , paramint2 : int , paramint3 : int , paramint4 : int ) : voidupdate ( paramGraphics1 : java.awt.Graphics ) : voidGamePlayerInfoPanelaBoolean380 : booleanaBooleanArray396 : [ZaChoicer399 : com.aapeli.colorgui.ChoiceraColor371 : java.awt.ColoraColor372 : java.awt.ColoraColor373 : java.awt.ColoraColor374 : java.awt.ColoraColorArrayArray375 : [[Ljava.awt.Color;anInt376 : intanInt382 : intanInt383 : intanInt385 : intanInt386 : intanIntArray394 : [IanIntArray397 : [IanIntArrayArray398 : [[IcurrentPlayerId : intcurrentTimeForShot : intfontDialog10 : java.awt.FontfontDialog12 : java.awt.FontfontDialog12b : java.awt.FontgameOutcome : [Igraphics : java.awt.Graphicsheight : intimage : java.awt.ImageplayerClans : [Ljava.lang.String;playerCount : intplayerID : intplayerNames : [Ljava.lang.String;playerVotedToSkip : [ZplayersId : [Lagolf.SynchronizedInteger;strokeTimeout : inttrackStrokes : [[Lagolf.SynchronizedInteger;width : intaddNotify () : voidaddPlayer ( paramint1 : int , paramString2 : String , paramString3 : String , paramboolean4 : boolean ) : voidcanShoot ( paramint1 : int ) : booleangetPlayerInfo ( paramint1 : int ) : [Ljava.lang.String;itemStateChanged ( paramItemEvent1 : java.awt.event.ItemEvent ) : voidmethod355 ( paramint1 : int , paramint2 : int , paramint3 : int , paramint4 : int , paramint5 : int ) : voidmethod356 ( param[I1 : [I ) : voidmethod358 ( paramint1 : int , paramint2 : int ) : booleanmethod359 () : voidmethod360 () : intmethod361 ( paramint1 : int ) : booleanmethod363 ( paramint1 : int , paramboolean2 : boolean ) : voidmethod366 () : voidmethod371 ( paramint1 : int ) : voidmethod372 () : voidmethod374 () : [Ljava.lang.String;method375 ( param[[I1 : [[I ) : voidmethod376 () : booleanmethod377 () : intmethod379 () : [ImouseClicked ( paramMouseEvent1 : java.awt.event.MouseEvent ) : voidmouseEntered ( paramMouseEvent1 : java.awt.event.MouseEvent ) : voidmouseExited ( paramMouseEvent1 : java.awt.event.MouseEvent ) : voidmousePressed ( paramMouseEvent1 : java.awt.event.MouseEvent ) : voidmouseReleased ( paramMouseEvent1 : java.awt.event.MouseEvent ) : voidpaint ( paramGraphics1 : java.awt.Graphics ) : voidreadyForNewGame ( paramint1 : int ) : voidreadyForNewGameLocal () : voidrun () : booleansetScores ( paramint1 : int , param[I2 : [I ) : voidstop () : voidupdate ( paramGraphics1 : java.awt.Graphics ) : voidvoteSkip ( paramint1 : int ) : voidvoteSkipReset () : voidGamePlayerInfoPanelThreadrunning : booleanrun () : voidstopRunning () : voidGameTrackInfoPanelaBoolean436 : booleanaBoolean437 : booleanbuttonAccept : com.aapeli.colorgui.ColorButtonbuttonNoVote : com.aapeli.colorgui.ColorButtonbuttonR : com.aapeli.colorgui.ColorButtonbuttonReject : com.aapeli.colorgui.ColorButtonbuttonsVote : [Lcom.aapeli.colorgui.ColorButton;created : booleancurrentTrack : intfirstBestPlayerDate : StringfirstBestPlayerName : StringfontDialog11 : java.awt.FontfontDialog12 : java.awt.FontfontDialog14 : java.awt.FontfontSerif16 : java.awt.Fontgraphics : java.awt.GraphicshasNotRatedTrack : booleanheight : intimage : java.awt.ImagelastBestPlayerDate : StringlastBestPlayerName : StringnumTracks : intresultAverage : doubleresultBestNumStrokes : intresultBestPercent : doubleshowLongAvgResult : booleantrackAuthor : StringtrackAverageRating : doubletrackName : StringtrackPending : booleantrackRating : inttrackTotalRatings : intvoteColours : [Ljava.awt.Color;width : intactionPerformed ( paramActionEvent1 : java.awt.event.ActionEvent ) : voidaddNotify () : voidcreate () : voidmethod384 () : voidmethod385 () : intmethod388 ( paramboolean1 : boolean ) : voidmethod390 ( paramboolean1 : boolean ) : voidmethod391 ( paramboolean1 : boolean ) : voidpaint ( paramGraphics1 : java.awt.Graphics ) : voidparseBestPlayerInformation ( paramString1 : String ) : [Ljava.lang.String;parseTrackInfoStats ( paramString1 : String , paramString2 : String , param[I3 : [I , param[I4 : [I , paramString5 : String , paramString6 : String , paramboolean7 : boolean , paramboolean8 : boolean , paramboolean9 : boolean ) : voidresetCurrentTrack () : voidtoggleAcceptRejectButtons ( paramboolean1 : boolean ) : voidupdate ( paramGraphics1 : java.awt.Graphics ) : voidGamePlayerInfoPanelaBoolean380 : booleanaBooleanArray396 : [ZaChoicer399 : com.aapeli.colorgui.ChoiceraColor371 : java.awt.ColoraColor372 : java.awt.ColoraColor373 : java.awt.ColoraColor374 : java.awt.ColoraColorArrayArray375 : [[Ljava.awt.Color;anInt376 : intanInt382 : intanInt383 : intanInt385 : intanInt386 : intanIntArray394 : [IanIntArray397 : [IanIntArrayArray398 : [[IcurrentPlayerId : intcurrentTimeForShot : intfontDialog10 : java.awt.FontfontDialog12 : java.awt.FontfontDialog12b : java.awt.FontgameOutcome : [Igraphics : java.awt.Graphicsheight : intimage : java.awt.ImageplayerClans : [Ljava.lang.String;playerCount : intplayerID : intplayerNames : [Ljava.lang.String;playerVotedToSkip : [ZplayersId : [Lagolf.SynchronizedInteger;strokeTimeout : inttrackStrokes : [[Lagolf.SynchronizedInteger;width : intaddNotify () : voidaddPlayer ( paramint1 : int , paramString2 : String , paramString3 : String , paramboolean4 : boolean ) : voidcanShoot ( paramint1 : int ) : booleangetPlayerInfo ( paramint1 : int ) : [Ljava.lang.String;itemStateChanged ( paramItemEvent1 : java.awt.event.ItemEvent ) : voidmethod355 ( paramint1 : int , paramint2 : int , paramint3 : int , paramint4 : int , paramint5 : int ) : voidmethod356 ( param[I1 : [I ) : voidmethod358 ( paramint1 : int , paramint2 : int ) : booleanmethod359 () : voidmethod360 () : intmethod361 ( paramint1 : int ) : booleanmethod363 ( paramint1 : int , paramboolean2 : boolean ) : voidmethod366 () : voidmethod371 ( paramint1 : int ) : voidmethod372 () : voidmethod374 () : [Ljava.lang.String;method375 ( param[[I1 : [[I ) : voidmethod376 () : booleanmethod377 () : intmethod379 () : [ImouseClicked ( paramMouseEvent1 : java.awt.event.MouseEvent ) : voidmouseEntered ( paramMouseEvent1 : java.awt.event.MouseEvent ) : voidmouseExited ( paramMouseEvent1 : java.awt.event.MouseEvent ) : voidmousePressed ( paramMouseEvent1 : java.awt.event.MouseEvent ) : voidmouseReleased ( paramMouseEvent1 : java.awt.event.MouseEvent ) : voidpaint ( paramGraphics1 : java.awt.Graphics ) : voidreadyForNewGame ( paramint1 : int ) : voidreadyForNewGameLocal () : voidrun () : booleansetScores ( paramint1 : int , param[I2 : [I ) : voidstop () : voidupdate ( paramGraphics1 : java.awt.Graphics ) : voidvoteSkip ( paramint1 : int ) : voidvoteSkipReset () : voidGamePlayerInfoPanelThreadrunning : booleanrun () : voidstopRunning () : voidGameTrackInfoPanelaBoolean436 : booleanaBoolean437 : booleanbuttonAccept : com.aapeli.colorgui.ColorButtonbuttonNoVote : com.aapeli.colorgui.ColorButtonbuttonR : com.aapeli.colorgui.ColorButtonbuttonReject : com.aapeli.colorgui.ColorButtonbuttonsVote : [Lcom.aapeli.colorgui.ColorButton;created : booleancurrentTrack : intfirstBestPlayerDate : StringfirstBestPlayerName : StringfontDialog11 : java.awt.FontfontDialog12 : java.awt.FontfontDialog14 : java.awt.FontfontSerif16 : java.awt.Fontgraphics : java.awt.GraphicshasNotRatedTrack : booleanheight : intimage : java.awt.ImagelastBestPlayerDate : StringlastBestPlayerName : StringnumTracks : intresultAverage : doubleresultBestNumStrokes : intresultBestPercent : doubleshowLongAvgResult : booleantrackAuthor : StringtrackAverageRating : doubletrackName : StringtrackPending : booleantrackRating : inttrackTotalRatings : intvoteColours : [Ljava.awt.Color;width : intactionPerformed ( paramActionEvent1 : java.awt.event.ActionEvent ) : voidaddNotify () : voidcreate () : voidmethod384 () : voidmethod385 () : intmethod388 ( paramboolean1 : boolean ) : voidmethod390 ( paramboolean1 : boolean ) : voidmethod391 ( paramboolean1 : boolean ) : voidpaint ( paramGraphics1 : java.awt.Graphics ) : voidparseBestPlayerInformation ( paramString1 : String ) : [Ljava.lang.String;parseTrackInfoStats ( paramString1 : String , paramString2 : String , param[I3 : [I , param[I4 : [I , paramString5 : String , paramString6 : String , paramboolean7 : boolean , paramboolean8 : boolean , paramboolean9 : boolean ) : voidresetCurrentTrack () : voidtoggleAcceptRejectButtons ( paramboolean1 : boolean ) : voidupdate ( paramGraphics1 : java.awt.Graphics ) : voidHackedShotaBoolean2832 : booleanaBoolean2843 : booleanaBooleanArray2830 : [ZaBooleanArray2834 : [ZaDouble2798 : doubleaDouble2817 : doubleaDouble2818 : doubleaDouble2819 : doubleaDouble2820 : doubleaDoubleArray2821 : [DaDoubleArray2822 : [DaDoubleArray2828 : [DaDoubleArray2829 : [DaShortArrayArrayArray2825 : [[[SaSynchronizedBoolArray2831 : [Lagolf.SynchronizedBool;aVectorArray2823 : [Ljava.util.Vector;aVectorArray2824 : [Ljava.util.Vector;anInt2799 : intanInt2809 : intanInt2810 : intanInt2811 : intanInt2816 : intanInt2838 : intanInt2839 : intanIntArray2837 : [IcurrentPlayerID : intisSolidArrayIThink : [[BmapTiles : [[IplayerX : [DplayerY : [DgetHackedCoordintes () : [Dmethod145 ( paramint1 : int , paramboolean2 : boolean ) : voidmethod147 ( paramint1 : int , paramint2 : int ) : booleanmethod148 ( paramint1 : int , paramint2 : int ) : booleanmethod149 ( paramint1 : int , paramint2 : int , paramint3 : int ) : booleanmethod150 ( paramint1 : int , paramdouble2 : double ) : doublemethod151 ( paramint1 : int ) : doublemethod152 ( paramint1 : int , paramint2 : int , paramint3 : int , paramint4 : int , paramint5 : int , paramint6 : int , paramint7 : int , paramint8 : int , paramint9 : int , paramint10 : int , paramint11 : int ) : voidmethod153 ( paramint1 : int , paramint2 : int , paramint3 : int , paramint4 : int , paramint5 : int , paramint6 : int ) : doublemethod154 ( paramint1 : int , paramint2 : int , paramint3 : int , paramint4 : int ) : voidmethod155 ( paramboolean1 : boolean , paramint2 : int , paramint3 : int , paramint4 : int ) : voidmethod156 ( paramint1 : int , paramint2 : int , paramint3 : int , paramint4 : int , paramboolean5 : boolean ) : booleanmethod157 ( paramint1 : int , paramint2 : int ) : intmethod158 ( paramint1 : int , paramint2 : int , paramint3 : int , paramint4 : int , paramint5 : int , paramint6 : int , paramboolean7 : boolean , paramint8 : int ) : [Imethod159 ( paramint1 : int , paramint2 : int ) : voidmethod164 ( paramint1 : int ) : voidrun () : voidLobbyChatPanelaBoolean3712 : booleanaBoolean3713 : booleanaBoolean3714 : booleanlobbyId : intgetUser ( paramString1 : String , paramboolean2 : boolean ) : voidhandlePacket ( paramString;1 : [Ljava.lang.String; ) : booleanlocalUserAdminCommand ( paramString1 : String , paramString2 : String ) : voidlocalUserAdminCommand ( paramString1 : String , paramString2 : String , paramString3 : String ) : voidlocalUserSay ( paramString1 : String ) : voidlocalUserSay ( paramint1 : int , paramString2 : String ) : voidlocalUserSayPrivately ( paramString1 : String , paramString2 : String ) : voidLobbyControlPanelbuttonBack : com.aapeli.colorgui.ColorButtonbuttonMulti : com.aapeli.colorgui.ColorButtonbuttonQuit : com.aapeli.colorgui.ColorButtonbuttonSingle : com.aapeli.colorgui.ColorButtonheight : intwidth : intactionPerformed ( paramActionEvent1 : java.awt.event.ActionEvent ) : voidaddNotify () : voidcreate () : voidpaint ( paramGraphics1 : java.awt.Graphics ) : voidsetState ( paramint1 : int ) : voidupdate ( paramGraphics1 : java.awt.Graphics ) : voidgameContaineraSeed_2836gameContainergameContainergameContaineraGamePlayerInfoPanel__341aGamePlayerInfoPanel__341gameCanvasgameChatPanelgameChatPanelgameControlPanelgamePlayerInfoPanelgameTrackInfoPanelgameContainerpanelThreadgamePlayerInfoPanelgameContainerbuttonBackplayerInfoPanelgameTrackInfoPanelgameContainerpanelThreadplayerInfoPanelgameContainerbuttonBackaSeed_2836gameContainergameContainer