- GameHistory - Class in mars
-
GameHistory
It holds all information of one whole game, like score, startCore and all core core changes made throughout the game.
- GameHistory(int) - Constructor for class mars.GameHistory
-
GameHistory
Initializes an empty list of the size of the playing field (core) for the start core.
- GameHistoryTest - Class in mars
-
GameHistoryTest
Test class for testing GameHistory.
- GameHistoryTest() - Constructor for class mars.GameHistoryTest
-
- GameMode - Enum in serverControl
-
This Enum is to decide which kind of Player has Logged in
- games - Variable in class tcpService.Archive
-
- GamingPlattform - Class in tcpService
-
This class is the management for a running game
- GamingPlattform(NetworkConnectorForServer, DataStorage) - Constructor for class tcpService.GamingPlattform
-
the constructor were you have to reference the server on which you are
running
- General - Class in packages.general
-
It is a pattern for the package "General"
- General() - Constructor for class packages.general.General
-
- get() - Method in class mars.Marker
-
getList
- getAddr(int, int) - Method in class redHandling.RedCodeArrayList
-
Computes the absolute address of the instruction referenced by a field.
- getAddrAt(int, int) - Method in class redHandling.RedCodeArrayList
-
Computes the absolute address of the instruction referenced by a field,
and of that reference again the absolute address.
- getAllPlayedGames() - Method in class tcpService.Archive
-
- getClients() - Method in class tcpService.NetworkConnectorForServer
-
- getCode() - Method in class packages.code.Content
-
- getCode() - Method in class serverControl.ConnectedPerson
-
- getCode() - Method in class tcpService.DataManagementController
-
- getCodeStatus() - Method in class tcpService.DataManagementController
-
Did the client sent you code that was ok?
- getConfig(int, int, int, int, String) - Method in class tcpService.MassagingManagement
-
if you want to get a config package call this method
You have to give this method all infos about the configuration of the
core:
- getConfigStatus() - Method in class tcpService.DataManagementController
-
did the client get the config package?
- getConnection() - Method in class tcpService.WarriorServerThread
-
Is this client already available?
- getContent() - Method in class packages.code.Code
-
- getContent() - Method in class packages.config.Config
-
- getContent() - Method in class packages.error.Error
-
- getContent() - Method in class packages.finish.Finish
-
- getContent() - Method in class packages.general.General
-
- getContent() - Method in class packages.login.Login
-
- getContent() - Method in class packages.start.Start
-
- getContent() - Method in class packages.update.Update
-
- getContent() - Method in class packages.validation.Validation
-
- getContent() - Method in class packages.waiting.Wait
-
- getCore() - Method in class packages.start.Content
-
- getCoreData() - Method in class serverControl.DataStorage
-
- getCoreData() - Method in class tcpService.GamingPlattform
-
- getCoresize() - Method in class packages.config.Content
-
- getCoreSize() - Method in class serverControl.DataStorage
-
- getCurrentPlayer() - Method in class mars.Players
-
getCurrentPlayer
- getCurrentProcessPointer() - Method in class mars.CommandPointer
-
getCurrentProcessPointer
- getDataStorage() - Method in class tcpService.GamingPlattform
-
- getError(int) - Method in class redHandling.RedFileManager
-
Gets the error referenced by line in correspondence to the instruction
string.
- getErrorcode() - Method in class packages.validation.Content
-
- getErrorLabel() - Method in class redHandling.RedCodeArrayList
-
This Method returns missing labels which must be dealt with, before
running the redCode.
- getErrorLabel() - Method in class redHandling.RedFileManager
-
Gets the label which causes an error.
- getErrorLabelLine() - Method in class redHandling.RedCodeArrayList
-
Gets the first found error label line.
- getErrorLabelLine() - Method in class redHandling.RedFileManager
-
Gets the line number where the first error label was found.
- getErrorMassage(String) - Method in class tcpService.MassagingManagement
-
if you want to get a error package call this method
- getErrormessage() - Method in class packages.error.Content
-
- getField(int) - Method in class redHandling.Instruction
-
Gets the field a or b ([Field.a] = 0, [Field.b] = 1)
- getField(int) - Method in class redHandling.RedCodeLineParser
-
Gets the field a or b ([Field.a] = 0, [Field.b] = 1)
- getFinishMassage() - Method in class tcpService.GamingPlattform
-
if the game has been computed you can get the finish message that you can send to a client
or it is "" if no computation has been done
- getFinishMassage(String) - Method in class tcpService.MassagingManagement
-
if you want to get a finish package call this method
- getFinishStatus() - Method in class tcpService.DataManagementController
-
- getGameCounter() - Method in class tcpService.GamingPlattform
-
- getGameCycels() - Method in class serverControl.DataStorage
-
- getGamecycles() - Method in class packages.config.Content
-
- getGameHistory() - Method in class mars.Interpreter
-
getGameHistory
- getGameLaps() - Method in class tcpService.GamingPlattform
-
that often a game is played against the same enemy
- getGameName() - Method in class tcpService.DataManagementController
-
- getGameStandard() - Method in class serverControl.DataStorage
-
- getID() - Method in class tcpService.WarriorServerThread
-
- getIndex() - Method in class mars.CoreChange
-
getIndex
- getIndex() - Method in class packages.update.Content
-
- getInstr() - Method in class redHandling.RedCodeLineParser
-
Gets InstructionCode ENUM of parsed line.
- getInstruction(int) - Method in class redHandling.RedCodeArrayList
-
Gets Instruction at id.
- getInstruction(int, int) - Method in class redHandling.RedCodeArrayList
-
Computes the absolute address of the instruction referenced by a field
and returns the value of the new found instruction.
- getInstruction(int) - Method in class redHandling.Warrior
-
Gets the Instruction at the passed id.
- getInstructionAt(int, int) - Method in class redHandling.RedCodeArrayList
-
Computes the absolute address of the instruction referenced by a field,
and of that reference again the absolute address to return its
Instruction.
- getInstructionCode() - Method in class redHandling.Instruction
-
Gets InstructionCode ENUM.
- getInstructionSet() - Method in class redHandling.Warrior
-
Gets the warriors InstructionSet
- getInstructionSize() - Method in class redHandling.Warrior
-
Gets the size of the warriors InstructionSet
- getLabel() - Method in class redHandling.Field
-
Returns the label string of the field.
- getLabel() - Method in class redHandling.Instruction
-
Gets the string value of the label describing this instruction line.
- getLable() - Method in class redHandling.RedCodeLineParser
-
Gets line describing label if it exists and false if not.
- getLinelength() - Method in class packages.config.Content
-
- getLineLength() - Method in class serverControl.DataStorage
-
- getList() - Method in class mars.Players
-
getPlayerList
- getLoginName() - Method in class tcpService.DataManagementController
-
- getLoginName() - Method in class tcpService.WarriorServerThread
-
- getLoginStatus() - Method in class tcpService.DataManagementController
-
- getMaxinstructions() - Method in class packages.config.Content
-
- getMaxInstructions() - Method in class serverControl.DataStorage
-
- getMeta(int) - Method in class redHandling.Warrior
-
Gets metaValue of the given id.
- getMetaByTag(String) - Method in class redHandling.Warrior
-
Gets the corresponding metaValue of the passed tag.
- getMetaSize() - Method in class redHandling.Warrior
-
Gets the size of the meta-data-pares.
- getMetaTag(int) - Method in class redHandling.Warrior
-
Gets metaTag of the given id.
- getMode() - Method in class redHandling.Field
-
Gets AddressingMode of the field.
- getModifier() - Method in class redHandling.Instruction
-
Gets modifier of this lines instruction code.
- getModifier() - Method in class redHandling.RedCodeLineParser
-
Gets modifier.
- getName() - Method in class packages.code.Content
-
- getName() - Method in class packages.login.Content
-
- getName() - Method in class serverControl.ConnectedPerson
-
- getNewPackage(String, String) - Method in class packages.code.Code
-
- getNewPackage(int, int, int, int, String) - Method in class packages.config.Config
-
- getNewPackage() - Method in class packages.config.Config
-
- getNewPackage(String) - Method in class packages.error.Error
-
- getNewPackage() - Method in class packages.error.Error
-
- getNewPackage(String) - Method in class packages.finish.Finish
-
- getNewPackage() - Method in class packages.finish.Finish
-
- getNewPackage(String, GameMode) - Method in class packages.login.Login
-
- getNewPackage(List<String>, List<Integer>) - Method in class packages.start.Start
-
- getNewPackage() - Method in class packages.start.Start
-
- getNewPackage(Integer, Integer) - Method in class packages.update.Update
-
- getNewPackage() - Method in class packages.update.Update
-
- getNewPackage(boolean, String) - Method in class packages.validation.Validation
-
- getNewPackage() - Method in class packages.waiting.Wait
-
- getNextCoreChange() - Method in class tcpService.DataManagementController
-
- getNumberOfPlayerThatPlayAgainst() - Method in class serverControl.DataStorage
-
- getOwner() - Method in class mars.CoreChange
-
getOwner
- getPackagetype() - Method in class packages.code.Code
-
- getPackagetype() - Method in class packages.config.Config
-
- getPackagetype() - Method in class packages.error.Error
-
- getPackagetype() - Method in class packages.finish.Finish
-
- getPackagetype() - Method in class packages.general.General
-
- getPackagetype() - Method in class packages.login.Login
-
- getPackagetype() - Method in class packages.start.Start
-
- getPackagetype() - Method in class packages.update.Update
-
- getPackagetype() - Method in class packages.validation.Validation
-
- getPackagetype() - Method in class packages.waiting.Wait
-
- getPlayerList() - Method in class serverControl.DataStorage
-
- getPlayerNameList() - Method in class serverControl.DataStorage
-
- getPlayerNames() - Method in class tcpService.GamingPlattform
-
- getPlayers() - Method in class packages.start.Start
-
- getPlayers() - Method in class tcpService.GamingPlattform
-
- getQueue() - Method in class mars.GameHistory
-
getQueue
- getQueue() - Method in class tcpService.DataManagementController
-
- getQueue() - Method in class tcpService.GamingPlattform
-
- getRedCodeLine(int) - Method in class redHandling.RedFileManager
-
Gets the referenced line string.
- getRedCodeLineCount() - Method in class redHandling.RedFileManager
-
Gets the number of instruction lines.
- getRole() - Method in class packages.login.Content
-
- getRole() - Method in class serverControl.ConnectedPerson
-
- getRole() - Method in class tcpService.DataManagementController
-
- getRole() - Method in class tcpService.WarriorServerThread
-
- getScore() - Method in class mars.GameHistory
-
getScore
- getStartCore() - Method in class mars.GameHistory
-
getStartCore
- getStartCore() - Method in class serverControl.ServerController
-
- getStartMassage(ArrayList<Integer>, ArrayList<String>) - Method in class tcpService.MassagingManagement
-
if you want to get a start package call this method
- getStartStatus() - Method in class tcpService.DataManagementController
-
- getState() - Method in class packages.finish.Content
-
- getState() - Method in class packages.validation.Content
-
- getStd() - Method in class packages.config.Content
-
- getUpdateMassage(Integer, Integer) - Method in class tcpService.MassagingManagement
-
if you want to get a update package call this method
- getValidation(Boolean, String) - Method in class tcpService.MassagingManagement
-
if you want to get a validation package call this method
- getValue() - Method in class packages.update.Content
-
- getValue() - Method in class redHandling.Field
-
Gets the integer value of the field if possible.
- getVariable() - Method in class redHandling.Field
-
Returns the variable string if there is one, or else it returns an empty
string.
- getVersion() - Method in class packages.code.Code
-
- getVersion() - Method in class packages.config.Config
-
- getVersion() - Method in class packages.error.Error
-
- getVersion() - Method in class packages.finish.Finish
-
- getVersion() - Method in class packages.general.General
-
- getVersion() - Method in class packages.login.Login
-
- getVersion() - Method in class packages.start.Start
-
- getVersion() - Method in class packages.update.Update
-
- getVersion() - Method in class packages.validation.Validation
-
- getVersion() - Method in class packages.waiting.Wait
-
- getVisitorList() - Method in class serverControl.DataStorage
-
- getWaitingMassage() - Method in class tcpService.MassagingManagement
-
if you want to get a wait package call this method
- getWarrior() - Method in class redHandling.RedFileManager
-
Gets the Warrior loaded from file or string.
- getWarriorName() - Method in class serverControl.ConnectedPerson
-
- getWinner() - Method in class serverControl.DataStorage
-
- getWinner() - Method in class serverControl.ServerController
-
- getWinner() - Method in class tcpService.GamingPlattform
-
- gson - Static variable in class tests.CodeTest
-
- gson - Static variable in class tests.ConfigTest
-
- gson - Static variable in class tests.ErrorTest
-
- gson - Static variable in class tests.FinishTest
-
- gson - Static variable in class tests.LoginTest
-