Skip to content
Permalink
cc8ac19a58
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
23 lines (19 sloc) 454 Bytes
package model;
public class DoodadTile extends Tile
{
private static DoodadStack _doodadStack;
public DoodadTile(String name, int boardIndex)
{
super(name, boardIndex);
_doodadStack = new DoodadStack();
}
@Override
public void getLandedOn(Player p)
{
// Pop next card
// Get cash out from card
// Check if player has enough money to pay in full
// If yes: Take cash from player
// Otherwise set players cash balance to 0
}
}