Ejemplo n.º 1
0
        public virtual void Deserialize(Package package)
        {
            if (package.Header.Version <= PackageVersion.Hydra_V0_0)
            {
                // Outdated outer index, not used.
                package.ReadInt32();
            }

            Location = Vector2D.Deserialize(package);
            Size     = Vector2D.Deserialize(package);
        }