package models.board;

import models.board.TileComponentContents.Irrigation;
import models.board.TileComponentContents.Palace;
import models.board.TileComponentContents.Rice;
import models.board.TileComponentContents.Village;

public class TilePlacementVisitor implements TileVisitor {

    public TilePlacementVisitor(){

    }

    public void visit(TileComponent tcc){

    }

    public void visit(Palace p){

    }

    public void visit(Village v){

    }

    public void visit(Rice r){

    }

    public void visit(Irrigation i){

    }

}

@@ -280,16 +280,40 @@
 itor %7B%0A%0A
+    private int value;%0A%0A
     publ
@@ -350,99 +350,12 @@
   %7D%0A
-%0A    public void visit(TileComponent tcc)%7B%0A%0A    %7D%0A%0A    public void visit(Palace p)%7B%0A%0A    %7D%0A
+    
 %0A   
@@ -385,16 +385,34 @@
 age v)%7B%0A
+        value = 0;
 %0A    %7D%0A%0A
@@ -446,53 +446,206 @@
 r)%7B%0A
-%0A    %7D%0A%0A    public void visit(Irrigation i)%7B%0A
+        value = 1;%0A    %7D%0A%0A    public void visit(Palace p)%7B%0A        value = 2;%0A    %7D%0A%0A    public void visit(Irrigation i)%7B%0A        value = 3;%0A    %7D%0A    %0A    public int getValue() %7B%0A    %09return value;
 %0A   

Update TilePlacementVisitor.java