public BiblioRemplieGriseSouth() : base(0x3bc9) { Hue = 0x811; int rand = Utility.Random(3); switch (rand) { case 0: biblio = new ContenuBiblio(this, 0x3b71); break; case 1: biblio = new ContenuBiblio(this, 0x3b73); break; case 2: biblio = new ContenuBiblio(this, 0x3b75); break; default: Console.WriteLine("You don't know how to count to {0}.", rand.ToString()); break; } biblio.MoveToWorld(Location, Map); }
public override void Deserialize(GenericReader reader) { base.Deserialize(reader); int version = reader.ReadInt(); biblio = (ContenuBiblio)reader.ReadItem(); }