예제 #1
0
 /*
  * Function adds t to village region and colors.
  * this function does NOT remove the tile from the old village.
  */
 public void addTile(Tile t)
 {
     controlledRegion.Add(t);
     t.setVillage(this);
     int color = this.getPlayer ().getColor ();
     t.setColor( color );
     t.colorTile ();
 }