This is for the week before spring break. I was out of town over spring break and did not get any work done...
What was planned? Creating and implementing the Project class and the XML structure for storing Dance's. Also, setting up a more efficient sort method in the SuperArray class
What was done? Fixed the sorting algorithm. It is now Insertion Sort instead of bubble sort. I chose insertion sort because it is particularly efficient with data that is already partially sorted (seemed like a good choice to me since people will probably choreograph the dance in order). Also, this fixes the problem of the last move added being played when an overlap occurs. Now the first move of that type will be played. Project, SongInfo, and XMLWriter classes added to the project. They don't do much yet. Made the fileGUI "Save" button create a project and save it to a text file. right now it just saves some sample text. Also, added Song enum to the GlobalEnums to represent songs in SongInfo class (works like controlInfo).
Problems encountered? Javascript does not support writing to files. I had to start using c# script for that
What did you learn this week? Some C# script! Found a tutorial on www.csharp-station.com
What's planned for next week? Spring break! After that, finishing up the project class
Hours worked? 20 hours.
Wednesday, March 18, 2009
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment