How it works...

The Attack and Enemy classes control the behaviors when needed, so the Enemy class can be called from another component in the game object. The FightingCircle class is very similar to FormationPattern, in that it computes the target positions for a given enemy. It just does it in a slightly different way. Finally, the StageManager grants all the necessary permissions for assigning and releasing enemy and attack slots for each circle.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
13.58.6.202