public void Depacketize(IReadablePacket packet) { Factory = FactoryLibrary.GetFactory(packet.ReadString()) as PlanetFactory; Albedo = null; Normals = null; Specular = null; Lights = null; Clouds = null; }
public void Depacketize(IReadablePacket packet) { Factory = (ShieldFactory)FactoryLibrary.GetFactory(packet.ReadString()); Structure = null; }