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

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

    Modifier and Type Method Description
    void evolveTurn​(Worker worker)
    The evolution of the turn for the player that holds the Charon God card is different from the abstract implementation.
    java.lang.String getDescription()  
    GodController getGodController()  
    void move​(Worker worker)
    Default rules to move the worker during a turn of the game.

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

    build, toString, updateBuildMap, updateMoveMap, win

    Methods inherited from class java.lang.Object

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