Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
M
- main(String...) - Static method in class Main
-
When fed the proper cli inputs, starts the appropriate elements of the project
- Main - Class in Unnamed Package
-
main class of the project, call the
Main.main(java.lang.String...)
function to start the whole thing up - Main() - Constructor for class Main
- Max3MovementsWithoutCharacterCardTest() - Method in class it.polimi.ingsw.Controller.MoveStudentTest
- maxCheckBoxesSelectable - Variable in class it.polimi.ingsw.Client.GUI.Listeners.CheckBoxListener
-
limit of selectable checkboxes
- maxPlayers - Variable in class it.polimi.ingsw.Server.Lobby
- maxPlayers - Variable in class it.polimi.ingsw.Server.Messages.Events.Requests.CreateLobbyRequest
- maxPlayers - Variable in class it.polimi.ingsw.Server.Messages.ServerResponses.SupportStructures.LobbyInfo
- Message - Class in it.polimi.ingsw.Server.Messages
-
Represent a serializable entity to be sent over the network
- Message() - Constructor for class it.polimi.ingsw.Server.Messages.Message
- minimumLayoutSize(Container) - Method in class it.polimi.ingsw.Client.GUI.CircleLayout
-
Returns this CircleLayout's minimum size based on its Container
- model - Variable in class it.polimi.ingsw.Client.CLI.ClientView
-
Used to contain the game
- model - Variable in class it.polimi.ingsw.Client.GUI.Panels.IslandFieldPanel
-
Contains game's information
- model - Variable in class it.polimi.ingsw.Client.GUI.Panels.PlayerBoardPanel
-
Contains game's information
- model - Variable in class it.polimi.ingsw.Controller.ChooseCloudTileTest
- model - Variable in class it.polimi.ingsw.Controller.EndTurnOfActionPhaseTest
- model - Variable in class it.polimi.ingsw.Controller.MoveMotherNatureTest
- model - Variable in class it.polimi.ingsw.Controller.MoveStudentTest
- model - Variable in class it.polimi.ingsw.Controller.PlayAssistantCardTest
- model - Variable in class it.polimi.ingsw.Model.ModelWrapper
- model - Variable in class it.polimi.ingsw.Server.Messages.ServerResponses.ModelUpdated
- Model - Class in it.polimi.ingsw.Model
-
As the name suggests, this class is the game's Model.
- Model(GameMode, String...) - Constructor for class it.polimi.ingsw.Model.Model
-
Construct a Model object
- Model(IslandField, GameMode, StudentBag, List<PlayerBoard>, Map<PawnColour, PlayerBoard>, TeamMapper, TurnOrder, EffectTracker, List<Cloud>, List<CharacterCard>, int, int) - Constructor for class it.polimi.ingsw.Model.Model
-
Constructs a DEBUG ONLY version of the model, to be used for testing purposes.
- modelCopy(boolean) - Method in class it.polimi.ingsw.Model.ModelWrapper
-
When called, returns a copy of the Model object
- ModelTest - Class in it.polimi.ingsw.Model
- ModelTest() - Constructor for class it.polimi.ingsw.Model.ModelTest
- ModelUpdated - Class in it.polimi.ingsw.Server.Messages.ServerResponses
-
This Response is generated upon an edit of the game's model.
- ModelUpdated(Model) - Constructor for class it.polimi.ingsw.Server.Messages.ServerResponses.ModelUpdated
-
Prepare a response with the updated model
- ModelUpdateEvent - Class in it.polimi.ingsw.Server.Messages.Events.Internal
-
This Event is generated by
ModelWrapper
upon usage ofModelWrapper.editModel(ModelWrapper.ModelModifier, boolean)
. - ModelUpdateEvent(Model) - Constructor for class it.polimi.ingsw.Server.Messages.Events.Internal.ModelUpdateEvent
-
Ship an updated model as an event
- modelWrapper - Variable in class it.polimi.ingsw.Controller.Controller
- ModelWrapper - Class in it.polimi.ingsw.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.
- ModelWrapper(Model, OptionalValue<Lobby>) - Constructor for class it.polimi.ingsw.Model.ModelWrapper
-
Wraps a
Model
along with aOptionalValue
invalid input: '<'Lobby
> object to allow for easy notification to the view (ie the lobby component) of any and all changes to the model that are carried through this object's method:ModelWrapper.editModel(ModelModifier, boolean)
- ModelWrapper.ModelModifier - Interface in it.polimi.ingsw.Model
-
An interface that covers methods trying to access the Model.
- modifyModel(Model) - Method in interface it.polimi.ingsw.Model.ModelWrapper.ModelModifier
-
The function responsible for changes to the
Model
- modularSelection(T, List<T>, int) - Static method in class it.polimi.ingsw.Misc.Utils
-
Selects an element in the list as if it was a circular array
- motherNature - Static variable in class it.polimi.ingsw.Client.GUI.IconLoader
- motherNatureMovementIsCorrect() - Method in class it.polimi.ingsw.Model.IslandFieldTest
- motherNaturePosition - Variable in class it.polimi.ingsw.Model.IslandField
- motherNatureShouldBeMoved() - Method in class it.polimi.ingsw.Controller.MoveMotherNatureTest
- moveAndActMotherNature(int) - Method in class it.polimi.ingsw.Model.Model
-
Mother nature can move to an island and, once moved there must act out its power
- MoveDestination - Class in it.polimi.ingsw.Controller
-
This class is used by
MoveStudent
to direct a pawn from the entrance to the correct destination - MoveDestination() - Constructor for class it.polimi.ingsw.Controller.MoveDestination
-
Constructor used to point to the dining room
- MoveDestination(int) - Constructor for class it.polimi.ingsw.Controller.MoveDestination
-
Constructor used to point to an island
- moveMotherNature() - Method in class it.polimi.ingsw.Client.CLI.CliWriter
-
Executes the moveMotherNature command, this method asks the user to type the amount of steps motherNature should take
- moveMotherNature(int) - Method in class it.polimi.ingsw.Model.IslandField
-
this method is Package-private - moving mother nature through this method does not enact its power. it is therefore unsafe to call this outside of very specific circumstances.
- MoveMotherNature - Class in it.polimi.ingsw.Controller.Actions
-
This
PlayerAction
allows the caller to move the mother nature entity forward by a specified amount. - MoveMotherNature(int, int) - Constructor for class it.polimi.ingsw.Controller.Actions.MoveMotherNature
-
Create a new instance of this class with the following inputs:
- MOVEMOTHERNATURE - Enum constant in enum class it.polimi.ingsw.Client.GUI.ActionType
- MoveMotherNatureTest - Class in it.polimi.ingsw.Controller
- MoveMotherNatureTest() - Constructor for class it.polimi.ingsw.Controller.MoveMotherNatureTest
- MoveMotherNatureWithoutPlacingEnoughPawns() - Method in class it.polimi.ingsw.Controller.MoveMotherNatureTest
- moveStudent() - Method in class it.polimi.ingsw.Client.CLI.CliWriter
-
Executes the moveStudent command, the method requires from the user to type pawn's index inside entrance then it allows the user to choose the destination: type enter to move the pawn directly to the dining room type a number that will be interpreted as the island's id on which to move the pawn
- MoveStudent - Class in it.polimi.ingsw.Controller.Actions
-
This
PlayerAction
allows the caller to move a single student from the entrance to the school to an island or a dining room table. - MoveStudent(int, int, MoveDestination) - Constructor for class it.polimi.ingsw.Controller.Actions.MoveStudent
-
Create a new instance of this class with the following inputs:
- MOVESTUDENT - Enum constant in enum class it.polimi.ingsw.Client.GUI.ActionType
- MoveStudentTest - Class in it.polimi.ingsw.Controller
- MoveStudentTest() - Constructor for class it.polimi.ingsw.Controller.MoveStudentTest
- multipleExtraction(int) - Method in class it.polimi.ingsw.Model.StudentBag
-
Extract multiple
PawnColour
s at once
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form