Exemplo n.º 1
0
 public void drawInfluence(Graphics g, Influence inf)
 {
     if (inf != null && inf.GetRegions().Count > 0)
     {
         foreach (Region region in inf.GetRegions())
         {
             drawRegion(g, region);
         }
     }
 }
Exemplo n.º 2
0
 private void removeInfluenceFromSelectedRegions(Influence influence)
 {
     foreach (Region region in influence.GetRegions())
     {
         removeSelectedRegion(region);
     }
 }
Exemplo n.º 3
0
 private void addInfluenceToSelectedRegions(Influence influence)
 {
     foreach (Region region in influence.GetRegions())
     {
         addSelectedRegion(region);
     }
 }