예제 #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();
 }