Пример #1
0
        public void Depacketize(IReadablePacket packet)
        {
            Factory = FactoryLibrary.GetFactory(packet.ReadString()) as PlanetFactory;

            Albedo   = null;
            Normals  = null;
            Specular = null;
            Lights   = null;
            Clouds   = null;
        }
Пример #2
0
 public void Depacketize(IReadablePacket packet)
 {
     Factory   = (ShieldFactory)FactoryLibrary.GetFactory(packet.ReadString());
     Structure = null;
 }