10-152-311 - Object-Oriented Programming 1

3.1 Football Object Diagram: Overview

This week, the Wuv Luvs have three new players. They are being taught four new plays from the Playbook. They will be facing the LaCrosse Legomen.

Using Violet, create the UML object diagram that represents the newFootballTeamButton_Click code given for these objects.

3.1 Football Object Diagram: Directions

  1. Download this 3.1Football zip file.
  2. Extract the contents of the zip file to a location of your choice.
  3. Open the file OOP 1 Football 3.1 End.sln contained within the renamed folder.
  4. Double-click on MainWindow.xaml in the Solution Explorer (if hidden, restore it by clicking View | Solution Explorer).
  5. Select the (first/only) 3.1 button by single-clicking it.
  6. Navigate to the Properties Window (if hidden, restore it by clicking View | Properties Window).
  7. Change the Properties Window to show events (click on its lightning bolt icon)
  8. Double-click on the Click event. This should open a new tab called MainWindow.xaml.cs and take you to this assignment's button-click event handler.
  9. Create a UML object diagram in Violet which represents the state of the objects created/configured by the code in this button-click event handler.
  10. Using Violet, export the diagram to a .png file (File, Export to | Image file).
  11. Submit the file via Blackboard.