Class Atlas
java.lang.Object
it.polimi.ingsw.server.controller.god.God
it.polimi.ingsw.server.controller.god.Atlas
public class Atlas extends God
Represents the card of the God Atlas.
Allows to follow the instructions and to apply the effect of this specific God.
-
Field Summary
Fields Modifier and Type Field Description java.lang.Stringdescription -
Constructor Summary
Constructors Constructor Description Atlas(GodController godController) -
Method Summary
Modifier and Type Method Description voidbuild(Worker worker)The player who holds the Atlas God card that is allowed to build a dome in any position whenever he wants, but can also build in the default way.java.lang.StringgetDescription()GodControllergetGodController()Methods inherited from class it.polimi.ingsw.server.controller.god.God
evolveTurn, move, toString, updateBuildMap, updateMoveMap, win
-
Field Details
-
description
public final java.lang.String description- See Also:
- Constant Field Values
-
-
Constructor Details
-
Method Details
-
build
The player who holds the Atlas God card that is allowed to build a dome in any position whenever he wants, but can also build in the default way.- Overrides:
buildin classGod- Parameters:
worker- This the current worker chosen for the turn.- Throws:
UnableToBuildException- The worker isn't allowed to build anywhere.
-
getGodController
- Overrides:
getGodControllerin classGod
-
getDescription
public java.lang.String getDescription()- Specified by:
getDescriptionin classGod
-