UML Class Diagram - UQdeco2800/2022-studio-2 GitHub Wiki

image

The Class Diagram is created to illustrate every class that is related to Enemy creation, enemy movement, and attack.

  1. Enemy Creation: These are demonstrated in NPCFactory, NPCConfigs, and ProjectileFactory

  2. Enemy Movement: These are demonstrated in WanderTask, ChaseTask, MovementTask, PhysicsMovementComponent, and GymBroAnimationController(These are altered depending on the types of enemies).

  3. Enemy Attack: These are demonstrated in ChaseTask, ProjectileTask (for ranged enemies), and EnemyProjectileComponent