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
24 lines (19 sloc) 409 Bytes
package model;
public class CharityTile extends Tile
{
public CharityTile(String type, int boardIndex)
{
super(type, boardIndex);
}
@Override
public void getLandedOn(Player p)
{
// TODO
// Ask players if they want to donate to charity (returns boolean)
// If true:
// Set players charity coutner to 3
// Take money from them (check board for deets)
// else:
// Nothin
}
}