java.lang.Object
polimi.ingsw.am21.codex.client.localModel.LocalPlayer

public class LocalPlayer extends Object
The class that represents the local player. It's included in the LocalGameBoard class It's used to store the information about the player in the game. It includes the player's nickname, token, points, hand, objective card, resources, objects, available spots, forbidden spots, played cards, objective cards, connection status.
See Also:
  • Constructor Details

    • LocalPlayer

      public LocalPlayer(UUID connectionID)
      Class constructor that initializes the player with the given their connection ID.
  • Method Details