Exemplo n.º 1
0
        public SoundManager(SoundBundle bundle)
        {
            InitializeComponent();
            SoundBundle = bundle;

            foreach (Sound item in bundle.Sounds)
                LIST_Sounds.Items.Add(item);

            HasSaved = false;
        }
Exemplo n.º 2
0
 public ProjectRessources(SerializationInfo info, StreamingContext context)
 {
     Maps = (List<Map>)info.GetValue("Maps", typeof(List<Map>));
     Sprites = (SpriteBundle)info.GetValue("Sprites", typeof(SpriteBundle));
     CommunPevents = (List<Pevent>)info.GetValue("CommunPevents", typeof(List<Pevent>));
     Songs = (SongBundle)info.GetValue("Songs", typeof(SongBundle));
     Classes = (PeventClassBundle)info.GetValue("PeventClassBundle", typeof(PeventClassBundle));
     Icons = (List<pIcon>)info.GetValue("Icons", typeof(List<pIcon>));
     Sounds = (SoundBundle)info.GetValue("Sounds", typeof(SoundBundle));
     Animations = (List<Animation>)info.GetValue("Animations", typeof(List<Animation>));
     Elements = (List<Elemental>)info.GetValue("Elements", typeof(List<Elemental>));
     Battlers = (List<Battler>)info.GetValue("Battlers", typeof(List<Battler>));
 }
Exemplo n.º 3
0
 public ProjectRessources()
 {
     Maps = new List<Map>();
     Sprites = new SpriteBundle();
     CommunPevents = new List<Pevent>();
     Songs = new SongBundle();
     Classes = new PeventClassBundle();
     Icons = new List<pIcon>();
     Sounds = new SoundBundle();
     Animations = new List<Animation>();
     Elements = new List<Elemental>();
     Battlers = new List<Battler>();
 }