示例#1
0
 public ScriptClock(WorldInst world)
 {
     World = world ?? throw new ArgumentNullException(nameof(world));
 }
示例#2
0
 public ScriptBarrierCtrl(WorldInst world)
 {
     this.World = world ?? throw new ArgumentNullException(nameof(world));
 }
示例#3
0
 public ScriptWeatherCtrl(WorldInst world)
 {
     World      = world ?? throw new ArgumentNullException(nameof(world));
     _RainTimer = new GUCTimer(2 * TimeSpan.TicksPerMinute, OnRainChange);
 }