mirror of
https://athene2.informatik.unibw-muenchen.de/progproj/gruppen-ht24/Gruppe-02.git
synced 2025-01-18 22:56:15 +01:00
removed errors in java doc
This commit is contained in:
parent
3260d06bc8
commit
ff2b64d476
@ -496,7 +496,7 @@ public class MonopolyApp extends SimpleApplication implements MonopolyClient, Ga
|
|||||||
/**
|
/**
|
||||||
* Retrieves the unique identifier associated with the server connection.
|
* Retrieves the unique identifier associated with the server connection.
|
||||||
*
|
*
|
||||||
* Checks if a Server is connected and returns {@Code 0} if there is no connection
|
* Checks if a Server is connected and returns 0 if there is no connection
|
||||||
*
|
*
|
||||||
* @return the ID of the connected Server instance.
|
* @return the ID of the connected Server instance.
|
||||||
*/
|
*/
|
||||||
|
@ -58,7 +58,6 @@ public class TestWorld implements GameEventListener {
|
|||||||
* Konstruktor für die TestWorld.
|
* Konstruktor für die TestWorld.
|
||||||
*
|
*
|
||||||
* @param app Die Hauptanwendung
|
* @param app Die Hauptanwendung
|
||||||
* @param players Die Liste der Spieler mit ihren Figuren
|
|
||||||
*/
|
*/
|
||||||
public TestWorld(MonopolyApp app) {
|
public TestWorld(MonopolyApp app) {
|
||||||
this.app = app;
|
this.app = app;
|
||||||
|
@ -9,9 +9,8 @@ import com.jme3.network.serializing.Serializable;
|
|||||||
public class BuyPropertyResponse extends ClientMessage{
|
public class BuyPropertyResponse extends ClientMessage{
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Constructs a BuyPropertyRequest with the specified property ID.
|
* Constructs a BuyPropertyRequest
|
||||||
*
|
*
|
||||||
* @param propertyId the ID of the property to buy
|
|
||||||
*/
|
*/
|
||||||
public BuyPropertyResponse() {}
|
public BuyPropertyResponse() {}
|
||||||
|
|
||||||
|
@ -18,11 +18,11 @@ public class PlayerReady extends ClientMessage {
|
|||||||
private PlayerReady() { /* empty */ }
|
private PlayerReady() { /* empty */ }
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Constructs a PlayerReady message.
|
* Constructs a PlayerReady message
|
||||||
*
|
* @param isReady is the player ready
|
||||||
* @param isReady true if the player is ready, false otherwise
|
* @param name the name of the Player
|
||||||
* @param name the name of the player
|
* @param figure the figure corresponding to the Player
|
||||||
* @param color the color of the player (can be null)
|
* @param startMoney the initial capital of the game
|
||||||
*/
|
*/
|
||||||
public PlayerReady(boolean isReady, String name, String figure, int startMoney) {
|
public PlayerReady(boolean isReady, String name, String figure, int startMoney) {
|
||||||
this.isReady = isReady;
|
this.isReady = isReady;
|
||||||
|
@ -19,7 +19,6 @@ public class TradeOffer extends ClientMessage{
|
|||||||
/**
|
/**
|
||||||
* Constructs a TradeOffer with the specified details.
|
* Constructs a TradeOffer with the specified details.
|
||||||
*
|
*
|
||||||
* @param receiverId the ID of the player receiving the Request
|
|
||||||
* @param tradehandler the tradehandler
|
* @param tradehandler the tradehandler
|
||||||
*/
|
*/
|
||||||
public TradeOffer(TradeHandler tradehandler) {
|
public TradeOffer(TradeHandler tradehandler) {
|
||||||
|
@ -21,7 +21,7 @@ public class TradeResponse extends ClientMessage{
|
|||||||
* Constructs a TradeResponse with the specified response details.
|
* Constructs a TradeResponse with the specified response details.
|
||||||
*
|
*
|
||||||
* @param status the ID of the player who initiated the trade
|
* @param status the ID of the player who initiated the trade
|
||||||
* @param accepted true if the offer is accepted, false if declined
|
* @param tradeHandler the TradeHandler corresponding to the Trade
|
||||||
*/
|
*/
|
||||||
public TradeResponse(boolean status, TradeHandler tradeHandler) {
|
public TradeResponse(boolean status, TradeHandler tradeHandler) {
|
||||||
this.status = status;
|
this.status = status;
|
||||||
|
@ -21,7 +21,7 @@ public class TradeReply extends ServerMessage{
|
|||||||
* Constructs a TradeResponse with the specified response details.
|
* Constructs a TradeResponse with the specified response details.
|
||||||
*
|
*
|
||||||
* @param status the ID of the player who initiated the trade
|
* @param status the ID of the player who initiated the trade
|
||||||
* @param accepted true if the offer is accepted, false if declined
|
* @param tradeHandler the TradeHandler corresponding to the trade
|
||||||
*/
|
*/
|
||||||
public TradeReply(boolean status, TradeHandler tradeHandler) {
|
public TradeReply(boolean status, TradeHandler tradeHandler) {
|
||||||
this.status = status;
|
this.status = status;
|
||||||
|
@ -20,7 +20,6 @@ public class TradeRequest extends ServerMessage{
|
|||||||
/**
|
/**
|
||||||
* Constructs a TradeRequest with the specified details.
|
* Constructs a TradeRequest with the specified details.
|
||||||
*
|
*
|
||||||
* @param receiverId the ID of the player receiving the Request
|
|
||||||
* @param tradehandler the tradehandler
|
* @param tradehandler the tradehandler
|
||||||
*/
|
*/
|
||||||
public TradeRequest(TradeHandler tradehandler) {
|
public TradeRequest(TradeHandler tradehandler) {
|
||||||
|
@ -19,10 +19,9 @@ public class ViewAssetsResponse extends ServerMessage{
|
|||||||
private ViewAssetsResponse() { /* empty */ }
|
private ViewAssetsResponse() { /* empty */ }
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
*
|
||||||
* Constructs a ViewAssetsResponse with the specified properties and account balance.
|
* Constructs a ViewAssetsResponse with the specified properties and account balance.
|
||||||
*
|
* @param board the BoardManager representing the current Status
|
||||||
* @param properties a List of PropertyField objects representing the player's properties
|
|
||||||
* @param accountBalance the player's current account balance
|
|
||||||
*/
|
*/
|
||||||
public ViewAssetsResponse(BoardManager board) {
|
public ViewAssetsResponse(BoardManager board) {
|
||||||
this.board = board;
|
this.board = board;
|
||||||
|
@ -82,8 +82,7 @@ public class Figure implements Item{
|
|||||||
/**
|
/**
|
||||||
* Moves the Figure to the specified coordinates.
|
* Moves the Figure to the specified coordinates.
|
||||||
*
|
*
|
||||||
* @param x the new x-coordinate of the Figure's position
|
* @param fieldId the position to move to
|
||||||
* @param y the new y-coordinate of the Figure's position
|
|
||||||
*/
|
*/
|
||||||
public void moveTo(int fieldId) {
|
public void moveTo(int fieldId) {
|
||||||
moveTo(fieldIdToPosition(fieldId));
|
moveTo(fieldIdToPosition(fieldId));
|
||||||
|
@ -13,7 +13,6 @@ import pp.monopoly.model.Item;
|
|||||||
/**
|
/**
|
||||||
* Event when an item gets removed.
|
* Event when an item gets removed.
|
||||||
*
|
*
|
||||||
* @param item the destroyed item
|
|
||||||
*/
|
*/
|
||||||
public class ItemRemovedEvent {
|
public class ItemRemovedEvent {
|
||||||
private final Item item;
|
private final Item item;
|
||||||
|
Loading…
Reference in New Issue
Block a user