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 15:10
David is in week 3 of his current ashford course and has a paper due by monday night at midnight. he has finished everything but the concluding paragraph. as he boots up his computer to work on it, he sees a flash across the screen and then the screen goes black. he begins to panic as he tries desperately to turn the laptop back on. david should have saved his work on what kind of portable device?
Answers: 2
question
Computers and Technology, 23.06.2019 15:00
Idon’t understand the double8 coding problem. it is java
Answers: 1
question
Computers and Technology, 23.06.2019 22:20
What is a programming method that provides for interactive modules to a website?
Answers: 1
question
Computers and Technology, 24.06.2019 06:30
Ineed to know the anwser to all these questions
Answers: 2
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, 26.10.2020 20:40
question
Mathematics, 26.10.2020 20:40
question
Mathematics, 26.10.2020 20:40
question
Mathematics, 26.10.2020 20:40
question
Mathematics, 26.10.2020 20:40
question
English, 26.10.2020 20:40
Questions on the website: 13722367