![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
02-17-14, 06:10 PM
|
#11 | |
|
Black Magic
![]() |
Quote:
- derive list of active game units (some units can be excluded from this list) - iterate over list of active game units derived: -- iterate over all sensors of the current unit --- iterate over all active game units derived for each sensor to see if sensor detects it --- if sensor detects it then add to list of detected units Check all detected units to see which one was detected the 'strongest'. Place pointer to this unit in unit's contact detected 'slot'. |
|
|
|
|
|
