Sequence Diagram - UQdeco2800/2022-studio-2 GitHub Wiki

Enemy Creation

image

This sequence shows how the enemy is created. DefaultTask mentioned in the diagram represented any child Task class that extends the DefaultTask. This helps to generalize the diagram. Similarly, Component mentioned in the diagram represented any child Component class that extends the Component class.

Enemy Movement and Attack (Melee)

image

Enemy Movement and Attack (Ranged)

image