Courses‎ > ‎Software Development‎ > ‎Dyrland-Weaver‎ > ‎Work‎ > ‎

Work 10: I Object!

posted Mar 7, 2018, 10:17 AM by JonAlf Dyrland-Weaver   [ updated Mar 8, 2018, 10:17 AM ]
(This will be due Friday)
With your table buddy: Take your code from work 09 and objectify it.
  • Behavior remains the same. Driving code gets the job done differently.
  • Each dot is an object, with at least these attributes and methods:
    • x-coordinate
    • y-coordinate
    • radius
    • color
    • svg element
    • display()
    • remove()
  • Goal: Each circle an instantiated object, every action accomplished via method call.
10_js-obj
Comments