Please enable JavaScript.
Coggle requires JavaScript to display documents.
TeamManager (ManageTeams() (SpawnManager (SpawnShip() (ShipManager…
TeamManager
ManageTeams()
SpawnManager
SpawnShip()
ShipManager
Navigation
Checks the objects around the ship (eyes of the ship)
UpdateTargetsInRange()
GameObject GetClosestTarget()
List<GameObjects> targetsInRange
Haul
Controlls damage taken and health
TakeHaulDamage()
UpdateHealth()
Engines
Controlls DoTweenPath(). Tells when to stop and when to move
Stop() / Move()
Weapons
Creates projectiles and shoots towards the target
Shoot(Transform target)
Projectile
Flies towards the target. Explode when it hits the Haul
MoveTowardsTarget()
UpdateProjectileTarget(Transform target)
int damage
OnCollisionEnter2D() / OnTriggerEnter2D()
DealDamage(damage)