Tower defense (OOP4Fun Book)

Details der TLA

Name
Collision detection explanation
Beschreibung

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.

Lernart
Untersuchung
Beschreibung Lernen durch Untersuchung leitet den Lernenden dazu, die Texte, Dokumente und Ressourcen zu erkunden, zu vergleichen und zu kritisieren, die die Konzepte und Ideen widerspiegeln, die unterrichtet werden.
Example usage Vergleichen von Texten, Suchen und Bewerten von Informationen und Ideen, Verwenden von digitalen Werkzeugen zum Sammeln und Analysieren von Daten, Verwenden von konventionellen Methoden zum Sammeln und Analysieren von Daten,…
Arbeitsbelastung
30
Liefermethode der Aktivität
Online
Vor Ort
Hybrid
Synchron
Asynchron
Lehrer anwesend
Lehrer nicht anwesend
Zusammenarbeit
Arbeiten in Gruppen
Rückmeldung
Feedbackgeber
Lehrer
Automatisiert
Kollege
Sonstiges

AI usage level
-

Bewertung