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