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

public class Pan
extends God
Represents the card of the God Pan. 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
    Pan​(GodController godController)  
  • Method Summary

    Modifier and Type Method Description
    java.lang.String getDescription()  
    GodController getGodController()  
    void win​(Worker worker)
    Default condition is still valid, but now the selected worker of the player holding the Pan card can win also when reaches the level 2 of a building.

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

    build, evolveTurn, move, toString, updateBuildMap, updateMoveMap

    Methods inherited from class java.lang.Object

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