public LevelDescriptorWriter(LevelDescriptor levelDescriptor)
 {
     this.levelDescriptor = levelDescriptor ?? throw new ArgumentNullException(nameof(levelDescriptor));
 }
Beispiel #2
0
 public LevelBuilder(NezContentManager contentManager, LevelDescriptor levelDescriptor)
 {
     this.contentManager  = contentManager ?? throw new ArgumentNullException(nameof(contentManager));
     this.levelDescriptor = levelDescriptor ?? throw new ArgumentNullException(nameof(levelDescriptor));
 }