Exemple #1
0
        public int TotalCostWallBeam(Grid grid)
        {
            List <WallBeam> wallBeamList = wallBeamHandler.GetList(grid);
            var             total        = 0;

            foreach (var item in wallBeamList)
            {
                total += this.GetWallBeamCost();
            }
            return(total);
        }
Exemple #2
0
 public void DrawWallBeams(Graphics graphic)
 {
     if (WALLBEAM_HANDLER == null)
     {
         this.WALLBEAM_HANDLER = new WallBeamHandler(gridRepository);
     }
     foreach (WallBeam wallBeam in WALLBEAM_HANDLER.GetList(this))
     {
         wallBeam.Draw(graphic);
     }
 }