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