public void AddLightToCurrentPosition()
 {
     ThreeDCell cell = new ThreeDCell ();
     cell.xCoordinate = Mathf.RoundToInt( fourDPlayerPosition.x );
     cell.yCoordinate = Mathf.RoundToInt(fourDPlayerPosition.y);
     cell.zCoordinate = Mathf.RoundToInt( fourDPlayerPosition.z );
     cell.content = "pointLight";
     world [Mathf.RoundToInt(fourDPlayerPosition.x), Mathf.RoundToInt(fourDPlayerPosition.y), Mathf.RoundToInt(fourDPlayerPosition.z), Mathf.RoundToInt(fourDPlayerPosition.w)] = cell;
 }
 public void AddPalmTreeToCurrentPosition()
 {
     ThreeDCell cell = new ThreeDCell ();
     cell.xCoordinate = Mathf.RoundToInt( fourDPlayerPosition.x );
     cell.yCoordinate = Mathf.RoundToInt(fourDPlayerPosition.y);
     cell.zCoordinate = Mathf.RoundToInt( fourDPlayerPosition.z );
     cell.content = "ground_palmtree";
     world [Mathf.RoundToInt(fourDPlayerPosition.x), Mathf.RoundToInt(fourDPlayerPosition.y), Mathf.RoundToInt(fourDPlayerPosition.z), Mathf.RoundToInt(fourDPlayerPosition.w)] = cell;
 }
 public void AddHalfCubeToCurrentPosition(string color)
 {
     ThreeDCell cell = new ThreeDCell ();
     cell.xCoordinate = Mathf.RoundToInt( fourDPlayerPosition.x );
     cell.yCoordinate = Mathf.RoundToInt(fourDPlayerPosition.y);
     cell.zCoordinate = Mathf.RoundToInt( fourDPlayerPosition.z );
     cell.content = "half"+color+"Cube";
     world [Mathf.RoundToInt(fourDPlayerPosition.x), Mathf.RoundToInt(fourDPlayerPosition.y), Mathf.RoundToInt(fourDPlayerPosition.z), Mathf.RoundToInt(fourDPlayerPosition.w)] = cell;
 }