Package it.polimi.ingsw.Model
package it.polimi.ingsw.Model
-
ClassDescriptionThis class represents one of the 10 player owned assistant cardsCharacter Card#1 In setup, draw 4 Students and place them on this card.This test set verifies that character card 01 is able to hold, move and identify students.EFFECT: During this turn, you take control of any number of Professors even if you have the same number of Students as the player who currently controls them.EFFECT: Choose an Island and resolve the Island as if Mother Nature had ended her movement there.This test set verifies that the card 03 is able to change the control of an island leaving mother nature stillEFFECT: You may move Mother Nature up to 2 additional Islands than is indicated by the Assistant card you've played.In Setup, put the 4 No Entry tiles on this card.This test set verifies that character card 05 is able to manage, receive and give no entry tiles.EFFECT: When resolving a Conquering on an Island, Towers do not count towards influence.In Setup, draw 6 Students and place them on this card
EFFECT: you may take up to 3 students from this card and replace them with the same number of Students from your EntranceThis test set verifies that character card 07 is able to manage, receive and give students.EFFECT: During the influence calculation this turn, you count as having 2 more influenceEFFECT: Choose a color of Student: during the influence calculation this turn, that color adds no influenceThis test set verifies that character card 09 is able to change the way influence is calculated selecting a colour that will not be counted for the influence calculationEFFECT: You may exchange up to 2 Students between your entrance and your Dining RoomThis test set verifies that character card 10 is able to swap up to 2 students from entrance to dining room and vice-versa; the set also covers the edge cases related to invalid actions from the players.In Setup, draw 4 Students and place them on this card
EFFECT: Take 1 Student from this card and place it in your Dining Room.EFFECT: Choose a type of Student: every player (including yourself) must return 3 Students of that type from their Dining Room to the bag.EachCharacterCard
can use many input parameters.AnyGameMode.ADVANCED
game must start with a selection of 3 differentCharacterCard
s and this class is the generator of such cards.in order to construct each card, the constructor must fall under an interface to be used in a lambda call.The Cloud class is used to replenish pawns in the entrance fields of thePlayerBoard.getEntranceStudents()
CharacterCard
s may impose some non immediate effects to resolve during the turn.AllIslandGroup
s in the game need to be contained in a circular structure.EveryIsland
can be contained in an IslandGroup and multiple Islands can be grouped up.As the name suggests, this class is the game's Model.This class is used by the controller to enact the game logic and (optionally) notifies the view (ie the server) whenever a meaningful change to the underlying data is carried out.An interface that covers methods trying to access the Model.This is the representation of the game's No entry tile AnIslandGroup
may receive a reference to an object of this type throughIslandGroup.addNoEntry(NoEntryTile)
.This class represents the Player's part of the boardACharacterCard
that implements an effect linked to some internal stateACharacterCard
that implements an effect NOT linked to some internal stateThe StudentBag contains a limited number ofPawnColour
ordered randomly.Maps the players in the model to their respective teams andTowerStorage
Allows for the representation of the game's tower pawnA container for a set ofTower
s of the sameTowerColour
Represents the order in which players will play a round, and organizes the next round based on playedAssistantCard
s