コード例 #1
0
ファイル: Structures.cs プロジェクト: starfrost013/HHWTools
 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
ファイル: TrackMaker.cs プロジェクト: starfrost013/HHWTools
 public void AddStorm(Storm storm) // adds a storm to the list.
 {
     currentStormId = currentStormId + 1;
     stormList.Add(storm);
     return;
 }