java.lang.Object
it.polimi.ingsw.server.controller.god.God
it.polimi.ingsw.server.controller.god.Zeus

public class Zeus
extends God
Represents the card of the God Zeus. Allows to follow the instructions and to apply the effect of this specific God.
  • Field Summary

    Fields 
    Modifier and Type Field Description
    java.lang.String description  

    Fields inherited from class it.polimi.ingsw.server.controller.god.God

    godController
  • Constructor Summary

    Constructors 
    Constructor Description
    Zeus​(GodController godController)  
  • Method Summary

    Modifier and Type Method Description
    void build​(Worker worker)
    Lets the worker build a block or a dome.
    java.lang.String getDescription()  
    GodController getGodController()  
    WorkerBuildMap updateBuildMap​(Worker worker)
    The difference with the default method is that the build matrix of the worker is updated giving the possibility to build underneath the chosen worker.

    Methods inherited from class it.polimi.ingsw.server.controller.god.God

    evolveTurn, move, toString, updateMoveMap, win

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait