subject

A Winter Wonderland In this lab, we'll use OOP for graphics programming and add some interactivity to the application.
Your Classes
The Drawable Class
In this week's lecture we discussed how we can used object oriented programming concepts to make graphics applications more organized and easier to create. One of the things that we'll leverage is inheritance, polymorphism, and abstract base classes.
We have included drawable. py that contains an abstract base class called (shocker) Drawable
Interactivity
Finally, we'll allow the spacebar to toggle the animation. That is, the first time it is hit, all the snowflakes stop falling. The next time, they resume falling. Etc…
Extra Credit
For extra credit, when a Snowflake is spawned also assign it a maximum y value that is somewhere (randomly) between the start of the ground plane and the bottom of it. Then when a Snowflake hits its maximum y value, it no longer animates. This should make it look like the snow is sticking to the ground!
Scoring
The score for the assignment is determined as follows:
25 pts - Implemented and Demonstrated the Rectangle derived class
25 pts - Implemented and Demonstrated the Snowflake derived class<
35 pts - Create the basic animation correctly
15 pts - Spacebar correctly toggles animation

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 22:50
Which is the best minecraft server? a. mineplex b. worldonecraft c. 9b9t d. 2b2t
Answers: 2
question
Computers and Technology, 23.06.2019 12:00
Which of these is a benefit of using objects in a powerpoint presentation? a. collaborators can create the external files while you create and edit the slide show. b. you can easily change the theme and design of the presentation. c. you can have older data in the source file while having up-to-date data in the presentation. d. collaborators can easily share the presentation.
Answers: 2
question
Computers and Technology, 23.06.2019 12:10
2. fabulously fit offers memberships for$35 per month plus a $50 enrollmentfee. the fitness studio offersmemberships for $40 per month plus a$35 enrollment fee. in how many monthswill the fitness clubs cost the same? what will the cost be?
Answers: 1
question
Computers and Technology, 23.06.2019 19:30
You can apply several different worksheet themes from which tab?
Answers: 1
You know the right answer?
A Winter Wonderland In this lab, we'll use OOP for graphics programming and add some interactivity...
Questions
question
Mathematics, 10.02.2022 07:20
question
History, 10.02.2022 07:20
question
Health, 10.02.2022 07:30
Questions on the website: 13722362