Ejemplo n.º 1
0
 public Node(Storm storm, SolidColorBrush colour, int category, int intensity, int posX, int posY) // this initalizes the node
 {
     this.colour    = colour;
     this.category  = category;
     this.intensity = intensity;
     this.posX      = posX;
     this.posY      = posY;
     storm.nodeList.Add(this);
 }
Ejemplo n.º 2
0
 public void AddStorm(Storm storm) // adds a storm to the list.
 {
     currentStormId = currentStormId + 1;
     stormList.Add(storm);
     return;
 }