コード例 #1
0
 /*********
 ** Public methods
 *********/
 /// <summary>Construct an instance.</summary>
 /// <param name="config">The mod configuration.</param>
 /// <param name="gridHelper">Encapsulates the logic for building sprinkler grids.</param>
 internal SimpleSprinklerApi(SimpleConfig config, GridHelper gridHelper)
 {
     this.Config     = config;
     this.GridHelper = gridHelper;
 }
コード例 #2
0
 /*********
 ** Public methods
 *********/
 /// <summary>Construct an instance.</summary>
 /// <param name="config">The mod configuration.</param>
 public GridHelper(SimpleConfig config)
 {
     this.Config = config;
 }