Tower defense (OOP4Fun Book)

Détails de l'AEA

Nom
Collision detection explanation
Description

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.

Type d'apprentissage
Investigation
Description L'apprentissage par investigation guide l'apprenant à explorer, comparer et critiquer les textes, documents et ressources qui reflètent les concepts et les idées enseignés.
Example usage Comparaison de textes, recherche et évaluation d'informations et d'idées, utilisation d'outils numériques pour collecter et analyser des données, utilisation de méthodes conventionnelles pour collecter et analyser des données,…
Charge de travail
30
Prestation de l'activité
En ligne
Sur place
Hybride
Synchrone
Asynchrone
Enseignant présent
Enseignant non présent
Collaboration
Travail en groupes
Rétroaction
Fournisseur de rétroaction
Enseignant
Automatisé
Pair
Autre

Niveau d'utilisation de l'IA
-

Évaluation