コード例 #1
0
ファイル: Modulator.cs プロジェクト: MSylvia/DoomEngine
 public Modulator(BinaryReader reader)
 {
     sourceModulationData = new ModulatorType(reader);
     destinationGenerator = (GeneratorEnum)reader.ReadUInt16();
     amount = reader.ReadInt16();
     sourceModulationAmount = new ModulatorType(reader);
     sourceTransform        = (TransformEnum)reader.ReadUInt16();
 }
コード例 #2
0
 public Modulator(BinaryReader reader)
 {
     sourceModulationData = new ModulatorType(reader);
     destinationGenerator = (GeneratorEnum)reader.ReadUInt16();
     amount = reader.ReadInt16();
     sourceModulationAmount = new ModulatorType(reader);
     sourceTransform = (TransformEnum)reader.ReadUInt16();
 }