home *** CD-ROM | disk | FTP | other *** search
Unknown | 1999-11-02 | 3.4 KB |
view JSON data
|
view as text
|
open on a Mac
|
open on a PC
This file was not able to be converted.
This format is not currently supported by dexvert.
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| file
| data
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 00 00 00 00 00 00 00 | 7a 35 2f 2f 3d 3d 3d 3d |........|z5//====|
|00000010| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000020| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000030| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000040| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000050| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 0d 0a 2f 2f 20 52 65 |========|=..// Re|
|00000060| 74 72 65 61 74 49 6e 73 | 74 69 67 61 74 6f 72 2e |treatIns|tigator.|
|00000070| 75 63 0d 0a 2f 2f 20 24 | 41 75 74 68 6f 72 3a 20 |uc..// $|Author: |
|00000080| 4d 66 6f 78 20 24 0d 0a | 2f 2f 20 24 44 61 74 65 |Mfox $..|// $Date|
|00000090| 3a 20 31 30 2f 32 36 2f | 39 39 20 35 3a 33 38 70 |: 10/26/|99 5:38p|
|000000a0| 20 24 0d 0a 2f 2f 20 24 | 52 65 76 69 73 69 6f 6e | $..// $|Revision|
|000000b0| 3a 20 31 20 24 0d 0a 2f | 2f 3d 3d 3d 3d 3d 3d 3d |: 1 $../|/=======|
|000000c0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000000d0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000000e0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000000f0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000100| 3d 3d 3d 3d 3d 3d 0d 0a | 0d 0a 2f 2f 41 20 72 65 |======..|..//A re|
|00000110| 74 72 65 61 74 20 69 6e | 73 74 69 67 61 74 6f 72 |treat in|stigator|
|00000120| 20 69 73 20 61 20 6c 6f | 67 69 63 61 6c 20 65 78 | is a lo|gical ex|
|00000130| 74 65 6e 73 69 6f 6e 20 | 6f 66 20 61 20 67 6f 61 |tension |of a goa|
|00000140| 6c 20 61 62 73 74 72 61 | 63 74 65 72 2e 20 54 68 |l abstra|cter. Th|
|00000150| 65 20 70 75 72 70 6f 73 | 65 0d 0a 2f 2f 6f 66 20 |e purpos|e..//of |
|00000160| 74 68 65 20 63 6c 61 73 | 73 20 69 73 20 74 6f 20 |the clas|s is to |
|00000170| 70 72 6f 76 69 64 65 20 | 6e 65 77 20 73 65 74 20 |provide |new set |
|00000180| 6f 66 20 66 75 6e 63 74 | 69 6f 6e 73 20 74 68 61 |of funct|ions tha|
|00000190| 74 20 61 72 65 20 69 6e | 76 6f 6b 65 64 20 62 79 |t are in|voked by|
|000001a0| 20 74 68 65 0d 0a 2f 2f | 65 78 69 73 74 69 6e 67 | the..//|existing|
|000001b0| 20 67 6f 61 6c 20 61 62 | 73 74 72 61 63 74 65 72 | goal ab|stracter|
|000001c0| 20 69 6e 74 65 72 66 61 | 63 65 2e 20 53 70 65 63 | interfa|ce. Spec|
|000001d0| 69 66 69 63 61 6c 6c 79 | 2c 20 47 65 74 47 6f 61 |ifically|, GetGoa|
|000001e0| 6c 41 63 74 6f 72 20 69 | 73 20 69 6d 70 6c 65 6d |lActor i|s implem|
|000001f0| 65 6e 74 65 64 0d 0a 2f | 2f 61 73 20 61 20 63 61 |ented../|/as a ca|
|00000200| 6c 6c 20 74 6f 20 47 65 | 74 52 65 74 72 65 61 74 |ll to Ge|tRetreat|
|00000210| 49 6e 73 74 69 67 61 74 | 6f 72 2e 20 54 68 69 73 |Instigat|or. This|
|00000220| 20 61 6c 6c 6f 77 73 20 | 74 68 65 20 63 6c 69 65 | allows |the clie|
|00000230| 6e 74 20 6f 66 20 61 20 | 72 65 74 72 65 61 74 0d |nt of a |retreat.|
|00000240| 0a 2f 2f 69 6e 73 74 69 | 67 61 74 6f 72 20 74 6f |.//insti|gator to|
|00000250| 20 75 73 65 20 74 68 65 | 20 6e 65 77 20 66 75 6e | use the| new fun|
|00000260| 63 74 69 6f 6e 73 20 70 | 72 6f 76 69 64 65 64 20 |ctions p|rovided |
|00000270| 62 79 20 72 65 74 72 65 | 61 74 20 69 6e 73 74 69 |by retre|at insti|
|00000280| 67 61 74 6f 72 20 77 69 | 74 68 6f 75 74 0d 0a 2f |gator wi|thout../|
|00000290| 2f 6b 6e 6f 77 69 6e 67 | 20 74 68 61 74 20 69 74 |/knowing| that it|
|000002a0| 20 69 73 20 61 20 72 65 | 74 72 65 61 74 20 69 6e | is a re|treat in|
|000002b0| 73 74 69 67 61 74 6f 72 | 2e 20 41 73 20 66 61 72 |stigator|. As far|
|000002c0| 20 61 73 20 74 68 65 20 | 63 6c 69 65 6e 74 20 69 | as the |client i|
|000002d0| 73 20 63 6f 6e 63 65 72 | 6e 65 64 20 74 68 65 0d |s concer|ned the.|
|000002e0| 0a 2f 2f 6f 62 6a 65 63 | 74 20 69 73 20 6a 75 73 |.//objec|t is jus|
|000002f0| 74 20 73 6f 6d 65 20 63 | 6f 6e 63 72 65 74 65 20 |t some c|oncrete |
|00000300| 69 6e 73 74 61 6e 63 65 | 20 6f 66 20 61 20 63 6c |instance| of a cl|
|00000310| 61 73 73 20 64 65 72 69 | 76 65 64 20 66 72 6f 6d |ass deri|ved from|
|00000320| 0d 0a 2f 2f 47 6f 61 6c | 41 62 73 74 72 61 63 74 |..//Goal|Abstract|
|00000330| 65 72 49 6e 74 65 72 66 | 2e 20 59 61 68 6f 6f 2c |erInterf|. Yahoo,|
|00000340| 20 49 20 6a 75 73 74 20 | 67 61 76 65 20 61 20 62 | I just |gave a b|
|00000350| 61 73 69 63 20 64 65 73 | 63 72 69 70 74 69 6f 6e |asic des|cription|
|00000360| 20 6f 66 20 70 6f 6c 79 | 6d 6f 72 70 68 69 73 6d | of poly|morphism|
|00000370| 2e 0d 0a 2f 2f 57 68 65 | 6e 20 64 65 72 69 76 69 |...//Whe|n derivi|
|00000380| 6e 67 20 66 72 6f 6d 20 | 74 68 69 73 20 63 6c 61 |ng from |this cla|
|00000390| 73 73 20 74 68 65 20 66 | 75 6e 63 74 69 6f 6e 73 |ss the f|unctions|
|000003a0| 20 6f 66 20 70 61 72 74 | 69 63 75 6c 61 72 20 63 | of part|icular c|
|000003b0| 6f 6e 63 65 72 6e 20 61 | 72 65 0d 0a 2f 2f 47 65 |oncern a|re..//Ge|
|000003c0| 74 52 65 74 72 65 61 74 | 49 6e 73 74 69 67 61 74 |tRetreat|Instigat|
|000003d0| 6f 72 20 61 6e 64 20 47 | 65 74 52 65 74 72 65 61 |or and G|etRetrea|
|000003e0| 74 49 6e 73 74 69 67 61 | 74 6f 72 50 61 72 61 6d |tInstiga|torParam|
|000003f0| 73 2e 0d 0a 0d 0a 63 6c | 61 73 73 20 52 65 74 72 |s.....cl|ass Retr|
|00000400| 65 61 74 49 6e 73 74 69 | 67 61 74 6f 72 20 65 78 |eatInsti|gator ex|
|00000410| 70 61 6e 64 73 20 43 6f | 6e 74 65 78 74 53 65 6e |pands Co|ntextSen|
|00000420| 73 69 74 69 76 65 47 6f | 61 6c 3b 0d 0a 0d 0a 63 |sitiveGo|al;....c|
|00000430| 6f 6e 73 74 20 44 65 66 | 61 75 6c 74 54 68 72 65 |onst Def|aultThre|
|00000440| 61 74 49 6e 66 6c 75 65 | 6e 63 65 20 3d 20 31 3b |atInflue|nce = 1;|
|00000450| 20 2f 2f 31 20 7e 3d 20 | 31 30 30 20 70 65 72 63 | //1 ~= |100 perc|
|00000460| 65 6e 74 0d 0a 0d 0a 0d | 0a 0d 0a 66 75 6e 63 74 |ent.....|...funct|
|00000470| 69 6f 6e 20 62 6f 6f 6c | 20 47 65 74 47 6f 61 6c |ion bool| GetGoal|
|00000480| 41 63 74 6f 72 28 20 4f | 62 6a 65 63 74 20 49 6e |Actor( O|bject In|
|00000490| 76 6f 6b 69 6e 67 4f 62 | 6a 65 63 74 2c 20 6f 75 |vokingOb|ject, ou|
|000004a0| 74 20 41 63 74 6f 72 20 | 43 75 72 72 65 6e 74 47 |t Actor |CurrentG|
|000004b0| 6f 61 6c 41 63 74 6f 72 | 20 29 0d 0a 7b 0d 0a 09 |oalActor| )..{...|
|000004c0| 2f 2f 4c 6f 67 28 20 53 | 65 6c 66 20 24 20 22 3a |//Log( S|elf $ ":|
|000004d0| 3a 52 65 74 72 65 61 74 | 49 6e 73 74 69 67 61 74 |:Retreat|Instigat|
|000004e0| 6f 72 3a 3a 47 65 74 47 | 6f 61 6c 41 63 74 6f 72 |or::GetG|oalActor|
|000004f0| 22 20 29 3b 0d 0a 09 72 | 65 74 75 72 6e 20 47 65 |" );...r|eturn Ge|
|00000500| 74 52 65 74 72 65 61 74 | 49 6e 73 74 69 67 61 74 |tRetreat|Instigat|
|00000510| 6f 72 28 20 49 6e 76 6f | 6b 69 6e 67 4f 62 6a 65 |or( Invo|kingObje|
|00000520| 63 74 2c 20 43 75 72 72 | 65 6e 74 47 6f 61 6c 41 |ct, Curr|entGoalA|
|00000530| 63 74 6f 72 20 29 3b 0d | 0a 7d 0d 0a 0d 0a 0d 0a |ctor );.|.}......|
|00000540| 0d 0a 66 75 6e 63 74 69 | 6f 6e 20 62 6f 6f 6c 20 |..functi|on bool |
|00000550| 47 65 74 52 65 74 72 65 | 61 74 49 6e 73 74 69 67 |GetRetre|atInstig|
|00000560| 61 74 6f 72 28 20 4f 62 | 6a 65 63 74 20 49 6e 76 |ator( Ob|ject Inv|
|00000570| 6f 6b 69 6e 67 4f 62 6a | 65 63 74 2c 20 6f 75 74 |okingObj|ect, out|
|00000580| 20 41 63 74 6f 72 20 49 | 6e 73 74 69 67 61 74 69 | Actor I|nstigati|
|00000590| 6e 67 41 63 74 6f 72 20 | 29 0d 0a 7b 0d 0a 09 2f |ngActor |)..{.../|
|000005a0| 2f 4c 6f 67 28 20 53 65 | 6c 66 20 24 20 22 3a 3a |/Log( Se|lf $ "::|
|000005b0| 52 65 74 72 65 61 74 49 | 6e 73 74 69 67 61 74 6f |RetreatI|nstigato|
|000005c0| 72 3a 3a 47 65 74 52 65 | 74 72 65 61 74 49 6e 73 |r::GetRe|treatIns|
|000005d0| 74 69 67 61 74 6f 72 22 | 20 29 3b 0d 0a 09 72 65 |tigator"| );...re|
|000005e0| 74 75 72 6e 20 53 75 70 | 65 72 2e 47 65 74 47 6f |turn Sup|er.GetGo|
|000005f0| 61 6c 41 63 74 6f 72 28 | 20 49 6e 76 6f 6b 69 6e |alActor(| Invokin|
|00000600| 67 4f 62 6a 65 63 74 2c | 20 49 6e 73 74 69 67 61 |gObject,| Instiga|
|00000610| 74 69 6e 67 41 63 74 6f | 72 20 29 3b 0d 0a 7d 0d |tingActo|r );..}.|
|00000620| 0a 0d 0a 0d 0a 0d 0a 2f | 2f 47 65 74 52 65 74 72 |......./|/GetRetr|
|00000630| 65 61 74 49 6e 73 74 69 | 67 61 74 6f 72 50 61 72 |eatInsti|gatorPar|
|00000640| 61 6d 73 20 69 73 20 69 | 6e 74 65 6e 64 65 64 20 |ams is i|ntended |
|00000650| 74 6f 20 70 72 6f 76 69 | 64 65 20 74 68 65 20 63 |to provi|de the c|
|00000660| 6c 69 65 6e 74 20 77 69 | 74 68 20 74 68 65 20 6c |lient wi|th the l|
|00000670| 6f 63 61 74 69 6f 6e 0d | 0a 2f 2f 61 6e 64 20 74 |ocation.|.//and t|
|00000680| 68 65 20 65 78 74 65 6e | 74 73 20 6f 66 20 74 68 |he exten|ts of th|
|00000690| 65 20 72 65 74 72 65 61 | 74 20 69 6e 73 74 69 67 |e retrea|t instig|
|000006a0| 61 74 6f 72 2e 20 54 68 | 65 20 6d 65 61 6e 69 6e |ator. Th|e meanin|
|000006b0| 67 20 6f 66 20 74 68 65 | 20 6c 6f 63 61 74 69 6f |g of the| locatio|
|000006c0| 6e 20 6f 66 20 74 68 65 | 0d 0a 2f 2f 72 65 74 72 |n of the|..//retr|
|000006d0| 65 61 74 20 69 6e 73 74 | 69 67 61 74 6f 72 20 69 |eat inst|igator i|
|000006e0| 73 20 73 74 72 61 69 67 | 68 74 66 6f 72 77 61 72 |s straig|htforwar|
|000006f0| 64 2e 20 54 68 65 20 6d | 65 61 6e 69 6e 67 20 74 |d. The m|eaning t|
|00000700| 68 65 20 65 78 74 65 6e | 74 73 20 6f 66 20 74 68 |he exten|ts of th|
|00000710| 65 20 72 65 74 72 65 61 | 74 0d 0a 2f 2f 69 6e 73 |e retrea|t..//ins|
|00000720| 74 69 67 61 74 6f 72 20 | 69 73 20 69 6e 74 65 6e |tigator |is inten|
|00000730| 64 65 64 20 74 6f 20 70 | 72 6f 76 69 64 65 20 74 |ded to p|rovide t|
|00000740| 68 65 20 63 6c 69 65 6e | 74 20 77 69 74 68 20 74 |he clien|t with t|
|00000750| 68 65 20 72 61 6e 67 65 | 20 6f 66 20 77 68 69 63 |he range| of whic|
|00000760| 68 20 74 68 65 20 72 65 | 74 72 65 61 74 0d 0a 2f |h the re|treat../|
|00000770| 2f 69 6e 73 74 69 67 61 | 74 6f 72 20 6d 61 79 20 |/instiga|tor may |
|00000780| 68 61 76 65 20 69 6e 66 | 6c 75 65 6e 63 65 20 6f |have inf|luence o|
|00000790| 76 65 72 20 70 6f 74 65 | 6e 74 69 61 6c 20 72 65 |ver pote|ntial re|
|000007a0| 74 72 65 61 74 69 6e 67 | 20 63 6c 69 65 6e 74 73 |treating| clients|
|000007b0| 2e 0d 0a 66 75 6e 63 74 | 69 6f 6e 20 62 6f 6f 6c |...funct|ion bool|
|000007c0| 20 47 65 74 52 65 74 72 | 65 61 74 49 6e 73 74 69 | GetRetr|eatInsti|
|000007d0| 67 61 74 6f 72 50 61 72 | 61 6d 73 28 20 4f 62 6a |gatorPar|ams( Obj|
|000007e0| 65 63 74 20 49 6e 76 6f | 6b 69 6e 67 4f 62 6a 65 |ect Invo|kingObje|
|000007f0| 63 74 2c 0d 0a 09 09 6f | 75 74 20 56 65 63 74 6f |ct,....o|ut Vecto|
|00000800| 72 20 49 6e 73 74 69 67 | 61 74 6f 72 4c 6f 63 61 |r Instig|atorLoca|
|00000810| 74 69 6f 6e 2c 0d 0a 09 | 09 6f 75 74 20 56 65 63 |tion,...|.out Vec|
|00000820| 74 6f 72 20 49 6e 73 74 | 69 67 61 74 6f 72 45 78 |tor Inst|igatorEx|
|00000830| 74 65 6e 74 73 20 29 0d | 0a 7b 0d 0a 09 2f 2f 4c |tents ).|.{...//L|
|00000840| 6f 67 28 20 53 65 6c 66 | 20 24 20 22 3a 3a 52 65 |og( Self| $ "::Re|
|00000850| 74 72 65 61 74 49 6e 73 | 74 69 67 61 74 6f 72 3a |treatIns|tigator:|
|00000860| 3a 47 65 74 52 65 74 72 | 65 61 74 49 6e 73 74 69 |:GetRetr|eatInsti|
|00000870| 67 61 74 6f 72 50 61 72 | 61 6d 73 22 20 29 3b 0d |gatorPar|ams" );.|
|00000880| 0a 09 2f 2f 72 65 74 75 | 72 6e 20 53 75 70 65 72 |..//retu|rn Super|
|00000890| 2e 47 65 74 47 6f 61 6c | 41 63 74 6f 72 50 61 72 |.GetGoal|ActorPar|
|000008a0| 61 6d 73 28 20 49 6e 73 | 74 69 67 61 74 6f 72 4c |ams( Ins|tigatorL|
|000008b0| 6f 63 61 74 69 6f 6e 2c | 20 49 6e 73 74 69 67 61 |ocation,| Instiga|
|000008c0| 74 6f 72 45 78 74 65 6e | 74 73 20 29 3b 0d 0a 7d |torExten|ts );..}|
|000008d0| 0d 0a 0d 0a 0d 0a 0d 0a | 66 75 6e 63 74 69 6f 6e |........|function|
|000008e0| 20 62 6f 6f 6c 20 47 65 | 74 52 65 74 72 65 61 74 | bool Ge|tRetreat|
|000008f0| 49 6e 73 74 69 67 61 74 | 6f 72 4c 6f 63 61 74 69 |Instigat|orLocati|
|00000900| 6f 6e 28 20 4f 62 6a 65 | 63 74 20 49 6e 76 6f 6b |on( Obje|ct Invok|
|00000910| 69 6e 67 4f 62 6a 65 63 | 74 2c 20 6f 75 74 20 56 |ingObjec|t, out V|
|00000920| 65 63 74 6f 72 20 49 6e | 73 74 69 67 61 74 6f 72 |ector In|stigator|
|00000930| 4c 6f 63 61 74 69 6f 6e | 20 29 0d 0a 7b 0d 0a 09 |Location| )..{...|
|00000940| 6c 6f 63 61 6c 20 56 65 | 63 74 6f 72 20 49 6e 73 |local Ve|ctor Ins|
|00000950| 74 69 67 61 74 6f 72 45 | 78 74 65 6e 74 73 3b 0d |tigatorE|xtents;.|
|00000960| 0a 09 2f 2f 4c 6f 67 28 | 20 53 65 6c 66 20 24 20 |..//Log(| Self $ |
|00000970| 22 3a 3a 52 65 74 72 65 | 61 74 49 6e 73 74 69 67 |"::Retre|atInstig|
|00000980| 61 74 6f 72 3a 3a 47 65 | 74 52 65 74 72 65 61 74 |ator::Ge|tRetreat|
|00000990| 49 6e 73 74 69 67 61 74 | 6f 72 4c 6f 63 61 74 69 |Instigat|orLocati|
|000009a0| 6f 6e 22 20 29 3b 0d 0a | 09 72 65 74 75 72 6e 20 |on" );..|.return |
|000009b0| 47 65 74 52 65 74 72 65 | 61 74 49 6e 73 74 69 67 |GetRetre|atInstig|
|000009c0| 61 74 6f 72 50 61 72 61 | 6d 73 28 20 49 6e 76 6f |atorPara|ms( Invo|
|000009d0| 6b 69 6e 67 4f 62 6a 65 | 63 74 2c 20 49 6e 73 74 |kingObje|ct, Inst|
|000009e0| 69 67 61 74 6f 72 4c 6f | 63 61 74 69 6f 6e 2c 20 |igatorLo|cation, |
|000009f0| 49 6e 73 74 69 67 61 74 | 6f 72 45 78 74 65 6e 74 |Instigat|orExtent|
|00000a00| 73 20 29 3b 0d 0a 7d 0d | 0a 0d 0a 0d 0a 0d 0a 66 |s );..}.|.......f|
|00000a10| 75 6e 63 74 69 6f 6e 20 | 62 6f 6f 6c 20 47 65 74 |unction |bool Get|
|00000a20| 52 65 74 72 65 61 74 49 | 6e 73 74 69 67 61 74 6f |RetreatI|nstigato|
|00000a30| 72 45 78 74 65 6e 74 73 | 28 20 4f 62 6a 65 63 74 |rExtents|( Object|
|00000a40| 20 49 6e 76 6f 6b 69 6e | 67 4f 62 6a 65 63 74 2c | Invokin|gObject,|
|00000a50| 20 6f 75 74 20 56 65 63 | 74 6f 72 20 49 6e 73 74 | out Vec|tor Inst|
|00000a60| 69 67 61 74 6f 72 45 78 | 74 65 6e 74 73 20 29 0d |igatorEx|tents ).|
|00000a70| 0a 7b 0d 0a 09 6c 6f 63 | 61 6c 20 56 65 63 74 6f |.{...loc|al Vecto|
|00000a80| 72 20 49 6e 73 74 69 67 | 61 74 6f 72 4c 6f 63 61 |r Instig|atorLoca|
|00000a90| 74 69 6f 6e 3b 0d 0a 09 | 72 65 74 75 72 6e 20 47 |tion;...|return G|
|00000aa0| 65 74 52 65 74 72 65 61 | 74 49 6e 73 74 69 67 61 |etRetrea|tInstiga|
|00000ab0| 74 6f 72 50 61 72 61 6d | 73 28 20 49 6e 76 6f 6b |torParam|s( Invok|
|00000ac0| 69 6e 67 4f 62 6a 65 63 | 74 2c 20 49 6e 73 74 69 |ingObjec|t, Insti|
|00000ad0| 67 61 74 6f 72 4c 6f 63 | 61 74 69 6f 6e 2c 20 49 |gatorLoc|ation, I|
|00000ae0| 6e 73 74 69 67 61 74 6f | 72 45 78 74 65 6e 74 73 |nstigato|rExtents|
|00000af0| 20 29 3b 0d 0a 7d 0d 0a | 0d 0a 0d 0a 0d 0a 2f 2f | );..}..|......//|
|00000b00| 47 65 74 54 68 72 65 61 | 74 49 6e 66 6c 75 65 6e |GetThrea|tInfluen|
|00000b10| 63 65 20 69 73 20 69 6e | 74 65 6e 64 65 64 20 74 |ce is in|tended t|
|00000b20| 6f 20 70 72 6f 76 69 64 | 65 20 74 68 65 20 63 6c |o provid|e the cl|
|00000b30| 69 65 6e 74 20 77 69 74 | 68 20 61 6e 20 65 76 61 |ient wit|h an eva|
|00000b40| 6c 75 61 74 69 6f 6e 20 | 6f 66 20 74 68 65 0d 0a |luation |of the..|
|00000b50| 2f 2f 69 6e 66 6c 75 65 | 6e 63 65 20 74 68 61 74 |//influe|nce that|
|00000b60| 20 74 68 65 20 72 65 74 | 72 65 61 74 20 69 6e 73 | the ret|reat ins|
|00000b70| 74 69 67 61 74 6f 72 20 | 68 61 73 20 6f 76 65 72 |tigator |has over|
|00000b80| 20 74 68 65 20 67 69 76 | 65 6e 20 61 63 74 6f 72 | the giv|en actor|
|00000b90| 2e 20 54 68 65 20 72 65 | 74 75 72 6e 65 64 20 6e |. The re|turned n|
|00000ba0| 75 6d 62 65 72 0d 0a 2f | 2f 69 73 20 69 6e 74 65 |umber../|/is inte|
|00000bb0| 6e 64 65 64 20 74 6f 20 | 62 65 20 61 20 70 65 72 |nded to |be a per|
|00000bc0| 63 65 6e 74 61 67 65 2e | 20 41 20 72 65 74 75 72 |centage.| A retur|
|00000bd0| 6e 20 76 61 6c 75 65 20 | 6f 66 20 7a 65 72 6f 20 |n value |of zero |
|00000be0| 77 6f 75 6c 64 20 69 6d | 70 6c 79 20 74 68 61 74 |would im|ply that|
|00000bf0| 20 74 68 65 20 72 65 74 | 72 65 61 74 0d 0a 2f 2f | the ret|reat..//|
|00000c00| 69 6e 73 74 69 67 61 74 | 6f 72 20 68 61 73 20 6e |instigat|or has n|
|00000c10| 6f 20 69 6e 66 6c 75 65 | 6e 63 65 20 6f 76 65 72 |o influe|nce over|
|00000c20| 20 70 6f 74 65 6e 74 69 | 61 6c 20 72 65 74 72 65 | potenti|al retre|
|00000c30| 61 74 69 6e 67 20 63 6c | 69 65 6e 74 73 20 61 6e |ating cl|ients an|
|00000c40| 64 20 61 20 72 65 74 75 | 72 6e 20 76 61 6c 75 65 |d a retu|rn value|
|00000c50| 20 6f 66 0d 0a 2f 2f 6f | 6e 65 20 77 6f 75 6c 64 | of..//o|ne would|
|00000c60| 20 69 6d 70 6c 79 20 74 | 68 61 74 20 74 68 65 20 | imply t|hat the |
|00000c70| 72 65 74 72 65 61 74 20 | 69 6e 73 74 69 67 61 74 |retreat |instigat|
|00000c80| 6f 72 20 68 61 73 20 66 | 75 6c 6c 20 69 6e 66 6c |or has f|ull infl|
|00000c90| 75 65 6e 63 65 20 6f 76 | 65 72 20 70 6f 74 65 6e |uence ov|er poten|
|00000ca0| 74 69 61 6c 0d 0a 2f 2f | 72 65 74 72 65 61 74 69 |tial..//|retreati|
|00000cb0| 6e 67 20 63 6c 69 65 6e | 74 73 2e 0d 0a 66 75 6e |ng clien|ts...fun|
|00000cc0| 63 74 69 6f 6e 20 66 6c | 6f 61 74 20 47 65 74 54 |ction fl|oat GetT|
|00000cd0| 68 72 65 61 74 49 6e 66 | 6c 75 65 6e 63 65 28 20 |hreatInf|luence( |
|00000ce0| 4f 62 6a 65 63 74 20 49 | 6e 76 6f 6b 69 6e 67 4f |Object I|nvokingO|
|00000cf0| 62 6a 65 63 74 20 29 0d | 0a 7b 0d 0a 09 2f 2f 4c |bject ).|.{...//L|
|00000d00| 6f 67 28 20 53 65 6c 66 | 20 24 20 22 3a 3a 52 65 |og( Self| $ "::Re|
|00000d10| 74 72 65 61 74 49 6e 73 | 74 69 67 61 74 6f 72 3a |treatIns|tigator:|
|00000d20| 3a 47 65 74 54 68 72 65 | 61 74 49 6e 66 6c 75 65 |:GetThre|atInflue|
|00000d30| 6e 63 65 20 72 65 74 75 | 72 6e 69 6e 67 20 22 20 |nce retu|rning " |
|00000d40| 24 20 44 65 66 61 75 6c | 74 54 68 72 65 61 74 49 |$ Defaul|tThreatI|
|00000d50| 6e 66 6c 75 65 6e 63 65 | 20 29 3b 0d 0a 09 72 65 |nfluence| );...re|
|00000d60| 74 75 72 6e 20 44 65 66 | 61 75 6c 74 54 68 72 65 |turn Def|aultThre|
|00000d70| 61 74 49 6e 66 6c 75 65 | 6e 63 65 3b 0d 0a 7d 0d |atInflue|nce;..}.|
|00000d80| 0a 0d 0a 00 | |.... | |
+--------+-------------------------+-------------------------+--------+--------+