Serialized Form
-
Package it.polimi.ingsw.Client.ClientModel
-
Class it.polimi.ingsw.Client.ClientModel.ClientStatus
class ClientStatus extends UnicastRemoteObject implements Serializable-
Serialized Fields
-
board
BoardInterface board
Game's board -
cgCard
List<CommonGoalCardInterface> cgCard
Game's Common Goal Card (1-2) -
client
RMIClientInterface client
Client's implementation -
currentPlayer
String currentPlayer
Current player in the game, used for View purposes -
identifier
String identifier
Game's identifier -
lts
Map<ScoreCardInterface,
CommonGoalCardInterface> lts Game's last turn scores -
mi
MoveIntermediateInterface mi
Move Intermediate for the client -
nickname
String nickname
Player's nickname -
pgCard
PersonalGoalCardInterface pgCard
Personal Goal Card for the Player -
sc
Stack<ScoreCardInterface> sc
-
sci
ScoreBoardInterface sci
Game's final Scoreboard -
shelf
ShelfInterface shelf
Player's shelf -
status
Status status
Client status related to the game
-
-
-
-
Package it.polimi.ingsw.Server.Controller
-
Class it.polimi.ingsw.Server.Controller.MoveIntermediate
class MoveIntermediate extends UnicastRemoteObject implements Serializable -
Class it.polimi.ingsw.Server.Controller.RMIController
class RMIController extends UnicastRemoteObject implements Serializable-
Serialized Fields
-
clientStatusToController
Map<ClientStatusInterface,
GameController> clientStatusToController -
identifierToController
Map<String,
GameController> identifierToController Associates a Game's identifier to its controller
-
-
-
Class it.polimi.ingsw.Server.Controller.StatusIntermediate
class StatusIntermediate extends UnicastRemoteObject implements Serializable-
Serialized Fields
-
clientStatusToController
Map<ClientStatusInterface,
GameController> clientStatusToController -
csi
ClientStatusInterface csi
Client Status object -
server
RMIServer server
RMI Server implementation
-
-
-
-
Package it.polimi.ingsw.Server.Model
-
Class it.polimi.ingsw.Server.Model.Board
class Board extends UnicastRemoteObject implements Serializable-
Serialized Fields
-
lastTaken
Map<ObjectCard,
BoardSpace> lastTaken List of the most recent Object Cards taken -
MAXPLAYERS
int MAXPLAYERS
Game's maximum number of players -
MINPLAYERS
int MINPLAYERS
Game's minimum number of players -
objectCards
List<ObjectCard> objectCards
Object Cards extracted in the related game -
spaces
BoardSpace[][] spaces
Board Spaces implementation
-
-
-
Class it.polimi.ingsw.Server.Model.CommonGoalCard
class CommonGoalCard extends UnicastRemoteObject implements Serializable-
Serialized Fields
-
description
String description
This attribute stands for a textual description of the pattern that the player has to achieve, in order to gain points. -
increments
Stack<ScoreCard> increments
This attribute stands for the deck of ScoreCards on each Common Goal Card, put there from the lowest to the highest value. The size of the Stack varies according to the number of players. -
type
int type
This attribute stands for the id of the Common Goal Card, which permits to identify the different Common Goal Cards.
-
-
-
Class it.polimi.ingsw.Server.Model.EndGameCard
class EndGameCard extends ScoreCard implements Serializable -
Class it.polimi.ingsw.Server.Model.PersonalGoalCard
class PersonalGoalCard extends UnicastRemoteObject implements Serializable-
Serialized Fields
-
pattern
Optional<ObjectCardType>[][] pattern
The pattern represents the position of specific types of object cards. -
type
int type
This attribute stands for the id of the Personal Goal Card, which permits to identify the different Personal Goal Cards.
-
-
-
Class it.polimi.ingsw.Server.Model.Scoreboard
class Scoreboard extends UnicastRemoteObject implements Serializable -
Class it.polimi.ingsw.Server.Model.ScoreCard
class ScoreCard extends UnicastRemoteObject implements Serializable-
Serialized Fields
-
value
int value
Score Card's value
-
-
-
Class it.polimi.ingsw.Server.Model.Shelf
class Shelf extends UnicastRemoteObject implements Serializable-
Serialized Fields
-
cards
Optional<ObjectCard>[][] cards
Shelf implementation of Object Cards
-
-
-