Use case example

For this use case, let's imagine we are working on a military simulation game and we are assigned to implement the following behaviors for the missile homing system:

  • Heat: The missile seeks a target by its heat signature
  • Sonar: The missile uses sound propagation to find a target
  • GPS: The missile uses GPS coordinates to home onto the target

The design document also emphasizes that there will be three types of missiles using a homing system. But at the moment, it's not decided which missile will be using which homing system:

  • Tomahawk: Usually launched from a carrier
  • SideWinder: They are intended for jet fighters
  • Torpado: They are designed to destroy underwater targets

So, now we have technical choices to make:

  • Do we hard ...

Get Hands-On Game Development Patterns with Unity 2019 now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.