Class Prometheus

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

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

    Modifier and Type Method Description
    void evolveTurn​(Worker worker)
    The evolution of the turn for the player that holds the Prometheus God card is different from the abstract implementation.
    java.lang.String getDescription()  
    GodController getGodController()  
    void move​(Worker worker)
    As the default god's move, but if the player decided to not move up, the worker cannot actually do it.
    WorkerMoveMap updateMoveMap​(Worker worker)
    Sets the permissions to move of the selected worker.

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

    build, toString, updateBuildMap, win

    Methods inherited from class java.lang.Object

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