Module polimi.ingsw.am21.codex
Class LocalModelContainer.ClientContextContainer
java.lang.Object
polimi.ingsw.am21.codex.client.localModel.LocalModelContainer.ClientContextContainer
- Enclosing class:
LocalModelContainer
A class used to store the client context in the localModel,
It is queried by the view in case View Updates are received.
It is used as follows by:
- the GUI to filter scene changing events to only those who matter to the current client context since view updates can be not related to the player's current game or lobby, the client context is need
- the CLI to filter available commands by those available in the current context
- See Also:
-
Method Summary
-
Method Details
-
get
-
set
-