Package it.polimi.ingsw.Model
Class NoEntryTile
java.lang.Object
it.polimi.ingsw.Model.NoEntryTile
- All Implemented Interfaces:
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 Summary
-
Constructor Summary
-
Method Summary
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
home
-
-
Constructor Details
-
NoEntryTile
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
-