shCode

Module 5.3Classes and Instances

Quarter 2 · Weeks 12 · Environment: shplay

Lessons in this module

Estimated: ~1 hr 51 min

  1. Slides5.3.1Slides — Object-Oriented Programming~5 min
  2. Video5.3.2Video — What new Sprite() actually does~4 min
  3. Reading5.3.3Reading — Class and instance~12 min
  4. Reading5.3.4Reading — The new operator~6 min
  5. Reading5.3.5Reading — constructor and its parameters~6 min
  6. Worked Example5.3.6Worked Example — You've been using classes~10 min
  7. Reading5.3.7Reading — Properties: data on this~6 min
  8. shPlay Lesson5.3.8Lab — Read a property~5 min
  9. shPlay Lesson5.3.9Lab — Write a property~5 min
  10. shPlay Lesson5.3.10Lab — Two sprites, two property values~8 min
  11. Reading5.3.11Reading — this is a noun~6 min
  12. Worked Example5.3.12Worked Example — this is a pronoun~8 min
  13. shPlay Lesson5.3.13Your Turn — Build a Sprite~15 min
  14. Worked Example5.3.14Worked Example — Sprite Showcase~12 min
  15. Video5.3.15Video — The this keyword~3 min