Class Minotaur

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

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

    Modifier and Type Method Description
    java.lang.String getDescription()  
    GodController getGodController()  
    void move​(Worker worker)
    The minotaur move allows also to push back an enemy worker, if the cell behind the enemy (following the same direction) is free.
    WorkerMoveMap updateMoveMap​(Worker worker)
    The difference from the default method is that the worker can move into an enemy occupied cell.

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

    build, evolveTurn, toString, updateBuildMap, win

    Methods inherited from class java.lang.Object

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