コード例 #1
0
    public void Decode()
    {
        Scenery Sc = Scenery.Instance;

        Sc.RemoveObjects();
        if (Objects == null)
        {
            return;                   //In case we are loading a blank track
        }
        foreach (PlaceableObjectSerial POS in Objects)
        {
            PlaceableObject PO = POS.Decode();
            Sc.Objects.Add(PO);
        }
    }