Tower defense (OOP4Fun Book)

TLA:n tiedot

Nimi
Collision detection explanation
Kuvaus

The teacher put an instance of the Enemy class on the World, and an instance of the Direction class in the same row. The teacher adds code to the act() method so that the object moves one step forward.

The teacher explains to the students how to determine whether two or more objects ("characters") on the World are in the same position (on the same cell). The teacher explains the method: isTouching().

The teacher and students modify the act() method of the Enemy class to ensure that the enemy rotates 90° clockwise when it is in the same cell that contains an instance of the Direction class.

Together with the students, the teacher observes what happens with the rotation attribute.

Oppimistyypi
Tutkimus
Kuvaus Oppiminen tutkimuksen kautta ohjaa oppijaa tutkimaan, vertailemaan ja arvioimaan tekstejä, dokumentteja ja resursseja, jotka heijastavat opetettavia käsitteitä ja ideoita.
Example usage Tekstien vertailu, tiedon ja ideoiden etsiminen ja arviointi, digitaalisten työkalujen käyttö tiedon keräämiseksi ja analysoimiseksi, perinteisten menetelmien käyttäminen tiedon keräämiseksi ja analysoimiseksi,…
Työmäärä
30
Aktiviteetin toimitus
Verkkotyöskentely
Paikan päällä
Hybrid
Synnkroninen
Asynkroninen
Opettaja läsnä
Opettaja ei läsnä
Yhteistyö
Työskentely ryhmissä
Palaute
Palauteen antaja
Opettaja
Automaattinen
Vertais
Muu

AI usage level
-

Arviointi