Class NoEntryTile

java.lang.Object
it.polimi.ingsw.Model.NoEntryTile
All Implemented Interfaces:
Serializable

public class NoEntryTile extends Object implements Serializable
This is the representation of the game's No entry tile An IslandGroup may receive a reference to an object of this type through IslandGroup.addNoEntry(NoEntryTile).
See Also:
  • Field Details

  • Constructor Details

    • NoEntryTile

      public NoEntryTile(Card05 card)
      Generate a card and sets its "home"
      Parameters:
      card - Card05 is the home of every No entry tile.
  • Method Details

    • goHome

      public void goHome()
      When called, sends the tile back to its home