Adjusted some Documentation, build a jar and changed the presentation sightly (added some plots)
This commit is contained in:
parent
450bb682d9
commit
afecb4001f
0
Meilenstein V/OgGhostWinners.txt
Normal file
0
Meilenstein V/OgGhostWinners.txt
Normal file
Binary file not shown.
@ -76,6 +76,8 @@ public class Sprites {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Sets all Images of this class to the Day Version
|
* Sets all Images of this class to the Day Version
|
||||||
|
* @param roles a String containing s/h/g
|
||||||
|
* @param kickedOff a boolean containing true for every kicked off passenger
|
||||||
*/
|
*/
|
||||||
public static void setDaySprites(String[] roles, boolean[] kickedOff) {
|
public static void setDaySprites(String[] roles, boolean[] kickedOff) {
|
||||||
try {
|
try {
|
||||||
@ -106,7 +108,8 @@ public class Sprites {
|
|||||||
* Sets all Images of this class to the Night version, takes into account which room is a ghost
|
* Sets all Images of this class to the Night version, takes into account which room is a ghost
|
||||||
* Room and which isn't
|
* Room and which isn't
|
||||||
*
|
*
|
||||||
* @param roles a String containing the roles of the Passengers (g/h/s) from left to
|
* @param roles a String array containing the roles of the Passengers (g/h/s) from left to right
|
||||||
|
* @param kickedOff a boolean array containing the kickedOff value for each passenger
|
||||||
*/
|
*/
|
||||||
public static void setNightSprites(String[] roles, boolean[] kickedOff) {
|
public static void setNightSprites(String[] roles, boolean[] kickedOff) {
|
||||||
bg = SpritesNight.bg;
|
bg = SpritesNight.bg;
|
||||||
@ -133,6 +136,7 @@ public class Sprites {
|
|||||||
* Returns a room Image from SpritesDay, corresponding to the position and the role of the passenger in that room
|
* Returns a room Image from SpritesDay, corresponding to the position and the role of the passenger in that room
|
||||||
* @param position the position of the room integer 0-5
|
* @param position the position of the room integer 0-5
|
||||||
* @param suffix the role of the passenger eiter (h/s)
|
* @param suffix the role of the passenger eiter (h/s)
|
||||||
|
* @param kickedOff a boolean array containing the kickedOff value for each passenger
|
||||||
* @return the Image if parameters are passable otherwise null (ie position = 6)
|
* @return the Image if parameters are passable otherwise null (ie position = 6)
|
||||||
*/
|
*/
|
||||||
public static Image getRoomDay(int position, String suffix, boolean[] kickedOff) {
|
public static Image getRoomDay(int position, String suffix, boolean[] kickedOff) {
|
||||||
@ -176,6 +180,7 @@ public class Sprites {
|
|||||||
* Returns a room Image from SpritesNight, corresponding to the position and the role of the passenger in that room
|
* Returns a room Image from SpritesNight, corresponding to the position and the role of the passenger in that room
|
||||||
* @param position the position of the room integer 0-5
|
* @param position the position of the room integer 0-5
|
||||||
* @param suffix the role of the passenger eiter (h/s/g)
|
* @param suffix the role of the passenger eiter (h/s/g)
|
||||||
|
* @param kickedOff a boolean array containing if passenger at position index is kicked off
|
||||||
* @return the Image if parameters are passable otherwise null (ie position = 6)
|
* @return the Image if parameters are passable otherwise null (ie position = 6)
|
||||||
*/
|
*/
|
||||||
public static Image getRoomNight(int position, String suffix, boolean[] kickedOff) {
|
public static Image getRoomNight(int position, String suffix, boolean[] kickedOff) {
|
||||||
|
|||||||
@ -76,6 +76,7 @@ public class ListOfLobbiesController implements Initializable {
|
|||||||
* @param admin the admin of the lobby
|
* @param admin the admin of the lobby
|
||||||
* @param userName the username of the client
|
* @param userName the username of the client
|
||||||
* @param isOpen the status if lobby is open or closed
|
* @param isOpen the status if lobby is open or closed
|
||||||
|
* @param members A hashset containing all non admin member of this lobby
|
||||||
*/
|
*/
|
||||||
public void newTreeView(int lobbyId, String admin, boolean isOpen, String userName, HashSet<String> members) {
|
public void newTreeView(int lobbyId, String admin, boolean isOpen, String userName, HashSet<String> members) {
|
||||||
try {
|
try {
|
||||||
|
|||||||
Reference in New Issue
Block a user