示例#1
0
 public FallingPlatform(Level parent, XElement element) : this(parent)
 {
     Position = element.GetAttributeValue <Point3D16>("Position");
     element.GetAttributeValueWithDefault(out FloatTime, "FloatTime", (ushort)20);
 }
示例#2
0
 public FallingPlatform(Level parent)
 {
     this.parent = parent;
 }
示例#3
0
 public FallingPlatform(Level parent, BinaryReader reader) : this(parent)
 {
     Position  = new Point3D16(reader);
     FloatTime = reader.ReadUInt16();
 }