/// <summary> /// Reads velocity and mass. /// </summary> /// <param name="reader"></param> public override void Deserialize(IOReader reader) { base.Deserialize(reader); Velocity = reader.ReadVector2(); Mass = reader.ReadSingle(); }