示例#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);
 }
示例#2
0
 public void AddStorm(Storm storm) // adds a storm to the list.
 {
     currentStormId = currentStormId + 1;
     stormList.Add(storm);
     return;
 }