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 | 52 36 2f 2f 3d 3d 3d 3d |........|R6//====|
|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 50 61 |========|=..// Pa|
|00000060| 74 72 6f 6c 47 6f 61 6c | 43 6f 6e 74 65 78 74 2e |trolGoal|Context.|
|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 63 6c 61 73 73 20 |======..|..class |
|00000110| 50 61 74 72 6f 6c 47 6f | 61 6c 43 6f 6e 74 65 78 |PatrolGo|alContex|
|00000120| 74 20 65 78 70 61 6e 64 | 73 20 47 6f 61 6c 43 6f |t expand|s GoalCo|
|00000130| 6e 74 65 78 74 3b 0d 0a | 0d 0a 76 61 72 20 49 74 |ntext;..|..var It|
|00000140| 65 72 61 74 6f 72 49 6e | 74 65 72 66 20 50 61 74 |eratorIn|terf Pat|
|00000150| 72 6f 6c 53 65 74 49 74 | 65 72 61 74 6f 72 3b 0d |rolSetIt|erator;.|
|00000160| 0a 0d 0a 0d 0a 0d 0a 73 | 74 61 74 69 63 20 65 76 |.......s|tatic ev|
|00000170| 65 6e 74 20 66 75 6e 63 | 74 69 6f 6e 20 43 72 65 |ent func|tion Cre|
|00000180| 61 74 65 47 6f 61 6c 43 | 6f 6e 74 65 78 74 28 20 |ateGoalC|ontext( |
|00000190| 6f 75 74 20 47 6f 61 6c | 43 6f 6e 74 65 78 74 49 |out Goal|ContextI|
|000001a0| 6e 74 65 72 66 20 4e 65 | 77 43 6f 6e 74 65 78 74 |nterf Ne|wContext|
|000001b0| 49 6e 74 65 72 66 2c 0d | 0a 09 09 47 6f 61 6c 41 |Interf,.|...GoalA|
|000001c0| 62 73 74 72 61 63 74 65 | 72 49 6e 74 65 72 66 20 |bstracte|rInterf |
|000001d0| 43 6f 6e 74 65 78 74 4f | 66 2c 0d 0a 09 09 41 63 |ContextO|f,....Ac|
|000001e0| 74 6f 72 20 43 6f 6e 74 | 65 78 74 41 63 74 6f 72 |tor Cont|extActor|
|000001f0| 20 29 0d 0a 7b 0d 0a 09 | 6c 6f 63 61 6c 20 50 61 | )..{...|local Pa|
|00000200| 74 72 6f 6c 47 6f 61 6c | 43 6f 6e 74 65 78 74 20 |trolGoal|Context |
|00000210| 4e 65 77 50 61 74 72 6f | 6c 47 6f 61 6c 43 6f 6e |NewPatro|lGoalCon|
|00000220| 74 65 78 74 3b 0d 0a 09 | 6c 6f 63 61 6c 20 45 78 |text;...|local Ex|
|00000230| 74 65 72 6e 61 6c 44 69 | 72 65 63 74 69 76 65 20 |ternalDi|rective |
|00000240| 44 69 72 65 63 74 69 76 | 65 3b 0d 0a 09 6c 6f 63 |Directiv|e;...loc|
|00000250| 61 6c 20 50 61 74 72 6f | 6c 43 6f 6e 74 72 6f 6c |al Patro|lControl|
|00000260| 6c 65 72 20 54 68 69 73 | 50 61 74 72 6f 6c 43 6f |ler This|PatrolCo|
|00000270| 6e 74 72 6f 6c 6c 65 72 | 3b 0d 0a 09 0d 0a 09 63 |ntroller|;......c|
|00000280| 6c 61 73 73 27 44 65 62 | 75 67 27 2e 73 74 61 74 |lass'Deb|ug'.stat|
|00000290| 69 63 2e 44 65 62 75 67 | 4c 6f 67 28 20 43 6f 6e |ic.Debug|Log( Con|
|000002a0| 74 65 78 74 41 63 74 6f | 72 2c 20 22 43 72 65 61 |textActo|r, "Crea|
|000002b0| 74 65 47 6f 61 6c 43 6f | 6e 74 65 78 74 22 2c 20 |teGoalCo|ntext", |
|000002c0| 64 65 66 61 75 6c 74 2e | 44 65 62 75 67 43 61 74 |default.|DebugCat|
|000002d0| 65 67 6f 72 79 4e 61 6d | 65 20 29 3b 0d 0a 0d 0a |egoryNam|e );....|
|000002e0| 09 53 75 70 65 72 2e 43 | 72 65 61 74 65 47 6f 61 |.Super.C|reateGoa|
|000002f0| 6c 43 6f 6e 74 65 78 74 | 28 20 4e 65 77 43 6f 6e |lContext|( NewCon|
|00000300| 74 65 78 74 49 6e 74 65 | 72 66 2c 20 43 6f 6e 74 |textInte|rf, Cont|
|00000310| 65 78 74 4f 66 2c 20 43 | 6f 6e 74 65 78 74 41 63 |extOf, C|ontextAc|
|00000320| 74 6f 72 20 29 3b 0d 0a | 09 4e 65 77 50 61 74 72 |tor );..|.NewPatr|
|00000330| 6f 6c 47 6f 61 6c 43 6f | 6e 74 65 78 74 20 3d 20 |olGoalCo|ntext = |
|00000340| 50 61 74 72 6f 6c 47 6f | 61 6c 43 6f 6e 74 65 78 |PatrolGo|alContex|
|00000350| 74 28 20 4e 65 77 43 6f | 6e 74 65 78 74 49 6e 74 |t( NewCo|ntextInt|
|00000360| 65 72 66 20 29 3b 0d 0a | 09 69 66 28 20 4e 65 77 |erf );..|.if( New|
|00000370| 50 61 74 72 6f 6c 47 6f | 61 6c 43 6f 6e 74 65 78 |PatrolGo|alContex|
|00000380| 74 2e 47 65 74 44 69 72 | 65 63 74 69 76 65 28 20 |t.GetDir|ective( |
|00000390| 44 69 72 65 63 74 69 76 | 65 20 29 20 29 0d 0a 09 |Directiv|e ) )...|
|000003a0| 7b 0d 0a 09 09 54 68 69 | 73 50 61 74 72 6f 6c 43 |{....Thi|sPatrolC|
|000003b0| 6f 6e 74 72 6f 6c 6c 65 | 72 20 3d 20 50 61 74 72 |ontrolle|r = Patr|
|000003c0| 6f 6c 43 6f 6e 74 72 6f | 6c 6c 65 72 28 20 44 69 |olContro|ller( Di|
|000003d0| 72 65 63 74 69 76 65 20 | 29 3b 0d 0a 09 09 69 66 |rective |);....if|
|000003e0| 28 20 54 68 69 73 50 61 | 74 72 6f 6c 43 6f 6e 74 |( ThisPa|trolCont|
|000003f0| 72 6f 6c 6c 65 72 20 21 | 3d 20 4e 6f 6e 65 20 29 |roller !|= None )|
|00000400| 0d 0a 09 09 7b 0d 0a 09 | 09 09 63 6c 61 73 73 27 |....{...|..class'|
|00000410| 44 65 62 75 67 27 2e 73 | 74 61 74 69 63 2e 44 65 |Debug'.s|tatic.De|
|00000420| 62 75 67 4c 6f 67 28 20 | 43 6f 6e 74 65 78 74 41 |bugLog( |ContextA|
|00000430| 63 74 6f 72 2c 20 22 43 | 72 65 61 74 65 47 6f 61 |ctor, "C|reateGoa|
|00000440| 6c 43 6f 6e 74 65 78 74 | 20 50 61 74 72 6f 6c 49 |lContext| PatrolI|
|00000450| 74 65 72 61 74 6f 72 43 | 6c 61 73 73 3a 20 22 20 |teratorC|lass: " |
|00000460| 24 20 54 68 69 73 50 61 | 74 72 6f 6c 43 6f 6e 74 |$ ThisPa|trolCont|
|00000470| 72 6f 6c 6c 65 72 2e 50 | 61 74 72 6f 6c 49 74 65 |roller.P|atrolIte|
|00000480| 72 61 74 6f 72 43 6c 61 | 73 73 2c 20 64 65 66 61 |ratorCla|ss, defa|
|00000490| 75 6c 74 2e 44 65 62 75 | 67 43 61 74 65 67 6f 72 |ult.Debu|gCategor|
|000004a0| 79 4e 61 6d 65 20 29 3b | 0d 0a 09 09 09 63 6c 61 |yName );|.....cla|
|000004b0| 73 73 27 44 65 62 75 67 | 27 2e 73 74 61 74 69 63 |ss'Debug|'.static|
|000004c0| 2e 44 65 62 75 67 4c 6f | 67 28 20 43 6f 6e 74 65 |.DebugLo|g( Conte|
|000004d0| 78 74 41 63 74 6f 72 2c | 20 22 43 72 65 61 74 65 |xtActor,| "Create|
|000004e0| 47 6f 61 6c 43 6f 6e 74 | 65 78 74 20 43 75 72 72 |GoalCont|ext Curr|
|000004f0| 65 6e 74 50 61 74 72 6f | 6c 53 65 74 3a 20 22 20 |entPatro|lSet: " |
|00000500| 24 20 54 68 69 73 50 61 | 74 72 6f 6c 43 6f 6e 74 |$ ThisPa|trolCont|
|00000510| 72 6f 6c 6c 65 72 2e 41 | 73 73 73 6f 63 69 61 74 |roller.A|sssociat|
|00000520| 65 64 50 61 74 72 6f 6c | 53 65 74 2c 20 64 65 66 |edPatrol|Set, def|
|00000530| 61 75 6c 74 2e 44 65 62 | 75 67 43 61 74 65 67 6f |ault.Deb|ugCatego|
|00000540| 72 79 4e 61 6d 65 20 29 | 3b 0d 0a 09 09 09 0d 0a |ryName )|;.......|
|00000550| 09 09 09 4e 65 77 50 61 | 74 72 6f 6c 47 6f 61 6c |...NewPa|trolGoal|
|00000560| 43 6f 6e 74 65 78 74 2e | 50 61 74 72 6f 6c 53 65 |Context.|PatrolSe|
|00000570| 74 49 74 65 72 61 74 6f | 72 20 3d 20 6e 65 77 28 |tIterato|r = new(|
|00000580| 20 54 68 69 73 50 61 74 | 72 6f 6c 43 6f 6e 74 72 | ThisPat|rolContr|
|00000590| 6f 6c 6c 65 72 20 29 54 | 68 69 73 50 61 74 72 6f |oller )T|hisPatro|
|000005a0| 6c 43 6f 6e 74 72 6f 6c | 6c 65 72 2e 50 61 74 72 |lControl|ler.Patr|
|000005b0| 6f 6c 49 74 65 72 61 74 | 6f 72 43 6c 61 73 73 20 |olIterat|orClass |
|000005c0| 3b 0d 0a 09 09 09 4e 65 | 77 50 61 74 72 6f 6c 47 |;.....Ne|wPatrolG|
|000005d0| 6f 61 6c 43 6f 6e 74 65 | 78 74 2e 50 61 74 72 6f |oalConte|xt.Patro|
|000005e0| 6c 53 65 74 49 74 65 72 | 61 74 6f 72 2e 42 69 6e |lSetIter|ator.Bin|
|000005f0| 64 43 6f 6c 6c 65 63 74 | 69 6f 6e 28 20 54 68 69 |dCollect|ion( Thi|
|00000600| 73 50 61 74 72 6f 6c 43 | 6f 6e 74 72 6f 6c 6c 65 |sPatrolC|ontrolle|
|00000610| 72 2e 41 73 73 73 6f 63 | 69 61 74 65 64 50 61 74 |r.Asssoc|iatedPat|
|00000620| 72 6f 6c 53 65 74 2e 41 | 63 74 75 61 6c 43 6f 6c |rolSet.A|ctualCol|
|00000630| 6c 65 63 74 69 6f 6e 20 | 29 3b 0d 0a 09 09 09 4e |lection |);.....N|
|00000640| 65 77 50 61 74 72 6f 6c | 47 6f 61 6c 43 6f 6e 74 |ewPatrol|GoalCont|
|00000650| 65 78 74 2e 50 61 74 72 | 6f 6c 53 65 74 49 74 65 |ext.Patr|olSetIte|
|00000660| 72 61 74 6f 72 2e 47 65 | 74 46 69 72 73 74 49 6e |rator.Ge|tFirstIn|
|00000670| 64 65 78 28 29 3b 0d 0a | 09 09 7d 0d 0a 09 7d 0d |dex();..|..}...}.|
|00000680| 0a 7d 0d 0a 0d 0a 0d 0a | 0d 0a 66 75 6e 63 74 69 |.}......|..functi|
|00000690| 6f 6e 20 44 65 73 74 72 | 75 63 74 65 64 28 29 0d |on Destr|ucted().|
|000006a0| 0a 7b 0d 0a 09 50 61 74 | 72 6f 6c 53 65 74 49 74 |.{...Pat|rolSetIt|
|000006b0| 65 72 61 74 6f 72 2e 44 | 65 6c 65 74 65 28 29 3b |erator.D|elete();|
|000006c0| 0d 0a 09 50 61 74 72 6f | 6c 53 65 74 49 74 65 72 |...Patro|lSetIter|
|000006d0| 61 74 6f 72 20 3d 20 4e | 6f 6e 65 3b 0d 0a 09 53 |ator = N|one;...S|
|000006e0| 75 70 65 72 2e 44 65 73 | 74 72 75 63 74 65 64 28 |uper.Des|tructed(|
|000006f0| 29 3b 0d 0a 7d 0d 0a 0d | 0a 0d 0a 0d 0a 66 75 6e |);..}...|.....fun|
|00000700| 63 74 69 6f 6e 20 62 6f | 6f 6c 20 47 65 74 44 69 |ction bo|ol GetDi|
|00000710| 72 65 63 74 69 76 65 28 | 20 6f 75 74 20 45 78 74 |rective(| out Ext|
|00000720| 65 72 6e 61 6c 44 69 72 | 65 63 74 69 76 65 20 44 |ernalDir|ective D|
|00000730| 69 72 65 63 74 69 76 65 | 20 29 0d 0a 7b 0d 0a 09 |irective| )..{...|
|00000740| 6c 6f 63 61 6c 20 41 63 | 74 6f 72 20 47 6f 61 6c |local Ac|tor Goal|
|00000750| 41 63 74 6f 72 3b 0d 0a | 09 6c 6f 63 61 6c 20 62 |Actor;..|.local b|
|00000760| 6f 6f 6c 20 62 53 75 63 | 63 65 73 73 3b 0d 0a 0d |ool bSuc|cess;...|
|00000770| 0a 09 69 66 28 20 53 75 | 70 65 72 2e 47 65 74 47 |..if( Su|per.GetG|
|00000780| 6f 61 6c 41 63 74 6f 72 | 28 20 47 6f 61 6c 41 63 |oalActor|( GoalAc|
|00000790| 74 6f 72 20 29 20 29 0d | 0a 09 7b 0d 0a 09 09 44 |tor ) ).|..{....D|
|000007a0| 69 72 65 63 74 69 76 65 | 20 3d 20 45 78 74 65 72 |irective| = Exter|
|000007b0| 6e 61 6c 44 69 72 65 63 | 74 69 76 65 28 20 47 6f |nalDirec|tive( Go|
|000007c0| 61 6c 41 63 74 6f 72 20 | 29 3b 0d 0a 09 09 62 53 |alActor |);....bS|
|000007d0| 75 63 63 65 73 73 20 3d | 20 44 69 72 65 63 74 69 |uccess =| Directi|
|000007e0| 76 65 20 21 3d 20 4e 6f | 6e 65 3b 0d 0a 09 7d 0d |ve != No|ne;...}.|
|000007f0| 0a 09 72 65 74 75 72 6e | 20 62 53 75 63 63 65 73 |..return| bSucces|
|00000800| 73 3b 0d 0a 7d 0d 0a 0d | 0a 0d 0a 0d 0a 66 75 6e |s;..}...|.....fun|
|00000810| 63 74 69 6f 6e 20 62 6f | 6f 6c 20 55 6c 74 69 6d |ction bo|ol Ultim|
|00000820| 61 74 65 47 6f 61 6c 52 | 65 61 63 68 65 64 28 29 |ateGoalR|eached()|
|00000830| 0d 0a 7b 0d 0a 09 6c 6f | 63 61 6c 20 4f 62 6a 65 |..{...lo|cal Obje|
|00000840| 63 74 20 43 6f 6c 6c 65 | 63 74 69 6f 6e 49 74 65 |ct Colle|ctionIte|
|00000850| 6d 3b 0d 0a 09 6c 6f 63 | 61 6c 20 62 6f 6f 6c 20 |m;...loc|al bool |
|00000860| 62 52 65 61 63 68 65 64 | 45 6e 64 3b 0d 0a 0d 0a |bReached|End;....|
|00000870| 09 2f 2f 63 6c 61 73 73 | 27 44 65 62 75 67 27 2e |.//class|'Debug'.|
|00000880| 73 74 61 74 69 63 2e 44 | 65 62 75 67 4c 6f 67 28 |static.D|ebugLog(|
|00000890| 20 43 6f 6e 74 65 78 74 | 4f 62 6a 65 63 74 2c 20 | Context|Object, |
|000008a0| 22 55 6c 74 69 6d 61 74 | 65 47 6f 61 6c 52 65 61 |"Ultimat|eGoalRea|
|000008b0| 63 68 65 64 22 2c 20 44 | 65 62 75 67 43 61 74 65 |ched", D|ebugCate|
|000008c0| 67 6f 72 79 4e 61 6d 65 | 20 29 3b 0d 0a 09 0d 0a |goryName| );.....|
|000008d0| 09 69 66 28 20 50 61 74 | 72 6f 6c 53 65 74 49 74 |.if( Pat|rolSetIt|
|000008e0| 65 72 61 74 6f 72 2e 47 | 65 74 43 75 72 72 65 6e |erator.G|etCurren|
|000008f0| 74 49 74 65 6d 28 20 43 | 6f 6c 6c 65 63 74 69 6f |tItem( C|ollectio|
|00000900| 6e 49 74 65 6d 20 29 20 | 29 0d 0a 09 7b 0d 0a 09 |nItem ) |)...{...|
|00000910| 09 2f 2f 63 6c 61 73 73 | 27 44 65 62 75 67 27 2e |.//class|'Debug'.|
|00000920| 73 74 61 74 69 63 2e 44 | 65 62 75 67 4c 6f 67 28 |static.D|ebugLog(|
|00000930| 20 43 6f 6e 74 65 78 74 | 4f 62 6a 65 63 74 2c 20 | Context|Object, |
|00000940| 22 55 6c 74 69 6d 61 74 | 65 47 6f 61 6c 52 65 61 |"Ultimat|eGoalRea|
|00000950| 63 68 65 64 20 72 65 61 | 63 68 65 64 20 22 20 24 |ched rea|ched " $|
|00000960| 20 43 6f 6c 6c 65 63 74 | 69 6f 6e 49 74 65 6d 2c | Collect|ionItem,|
|00000970| 20 44 65 62 75 67 43 61 | 74 65 67 6f 72 79 4e 61 | DebugCa|tegoryNa|
|00000980| 6d 65 20 29 3b 0d 0a 09 | 7d 0d 0a 09 0d 0a 09 53 |me );...|}......S|
|00000990| 75 70 65 72 2e 55 6c 74 | 69 6d 61 74 65 47 6f 61 |uper.Ult|imateGoa|
|000009a0| 6c 52 65 61 63 68 65 64 | 28 29 3b 0d 0a 09 62 52 |lReached|();...bR|
|000009b0| 65 61 63 68 65 64 45 6e | 64 20 3d 20 21 50 61 74 |eachedEn|d = !Pat|
|000009c0| 72 6f 6c 53 65 74 49 74 | 65 72 61 74 6f 72 2e 47 |rolSetIt|erator.G|
|000009d0| 65 74 4e 65 78 74 49 6e | 64 65 78 28 29 3b 0d 0a |etNextIn|dex();..|
|000009e0| 09 2f 2f 78 78 78 72 6c | 6f 20 50 61 74 72 6f 6c |.//xxxrl|o Patrol|
|000009f0| 53 65 74 49 74 65 72 61 | 74 6f 72 2e 47 65 74 4e |SetItera|tor.GetN|
|00000a00| 65 78 74 49 6e 64 65 78 | 28 29 3b 0d 0a 09 2f 2f |extIndex|();...//|
|00000a10| 78 78 78 72 6c 6f 20 62 | 52 65 61 63 68 65 64 45 |xxxrlo b|ReachedE|
|00000a20| 6e 64 20 3d 20 66 61 6c | 73 65 3b 0d 0a 0d 0a 09 |nd = fal|se;.....|
|00000a30| 69 66 28 20 50 61 74 72 | 6f 6c 53 65 74 49 74 65 |if( Patr|olSetIte|
|00000a40| 72 61 74 6f 72 2e 47 65 | 74 43 75 72 72 65 6e 74 |rator.Ge|tCurrent|
|00000a50| 49 74 65 6d 28 20 43 6f | 6c 6c 65 63 74 69 6f 6e |Item( Co|llection|
|00000a60| 49 74 65 6d 20 29 20 29 | 0d 0a 09 7b 0d 0a 09 09 |Item ) )|...{....|
|00000a70| 2f 2f 63 6c 61 73 73 27 | 44 65 62 75 67 27 2e 73 |//class'|Debug'.s|
|00000a80| 74 61 74 69 63 2e 44 65 | 62 75 67 4c 6f 67 28 20 |tatic.De|bugLog( |
|00000a90| 43 6f 6e 74 65 78 74 4f | 62 6a 65 63 74 2c 20 22 |ContextO|bject, "|
|00000aa0| 55 6c 74 69 6d 61 74 65 | 47 6f 61 6c 52 65 61 63 |Ultimate|GoalReac|
|00000ab0| 68 65 64 20 6e 65 78 74 | 20 22 20 24 20 43 6f 6c |hed next| " $ Col|
|00000ac0| 6c 65 63 74 69 6f 6e 49 | 74 65 6d 2c 20 44 65 62 |lectionI|tem, Deb|
|00000ad0| 75 67 43 61 74 65 67 6f | 72 79 4e 61 6d 65 20 29 |ugCatego|ryName )|
|00000ae0| 3b 0d 0a 09 7d 0d 0a 0d | 0a 09 2f 2f 63 6c 61 73 |;...}...|..//clas|
|00000af0| 73 27 44 65 62 75 67 27 | 2e 73 74 61 74 69 63 2e |s'Debug'|.static.|
|00000b00| 44 65 62 75 67 4c 6f 67 | 28 20 43 6f 6e 74 65 78 |DebugLog|( Contex|
|00000b10| 74 4f 62 6a 65 63 74 2c | 20 22 55 6c 74 69 6d 61 |tObject,| "Ultima|
|00000b20| 74 65 47 6f 61 6c 52 65 | 61 63 68 65 64 20 62 52 |teGoalRe|ached bR|
|00000b30| 65 61 63 68 65 64 45 6e | 64 20 22 20 24 20 62 52 |eachedEn|d " $ bR|
|00000b40| 65 61 63 68 65 64 45 6e | 64 2c 20 44 65 62 75 67 |eachedEn|d, Debug|
|00000b50| 43 61 74 65 67 6f 72 79 | 4e 61 6d 65 20 29 3b 0d |Category|Name );.|
|00000b60| 0a 09 72 65 74 75 72 6e | 20 62 52 65 61 63 68 65 |..return| bReache|
|00000b70| 64 45 6e 64 3b 0d 0a 7d | 0d 0a 0d 0a 0d 0a 0d 0a |dEnd;..}|........|
|00000b80| 66 75 6e 63 74 69 6f 6e | 20 62 6f 6f 6c 20 47 65 |function| bool Ge|
|00000b90| 74 47 6f 61 6c 41 63 74 | 6f 72 28 20 6f 75 74 20 |tGoalAct|or( out |
|00000ba0| 41 63 74 6f 72 20 43 75 | 72 72 65 6e 74 47 6f 61 |Actor Cu|rrentGoa|
|00000bb0| 6c 41 63 74 6f 72 20 29 | 0d 0a 7b 0d 0a 09 6c 6f |lActor )|..{...lo|
|00000bc0| 63 61 6c 20 62 6f 6f 6c | 20 62 52 65 74 75 72 6e |cal bool| bReturn|
|00000bd0| 3b 0d 0a 09 6c 6f 63 61 | 6c 20 4f 62 6a 65 63 74 |;...loca|l Object|
|00000be0| 20 43 6f 6c 6c 65 63 74 | 69 6f 6e 49 74 65 6d 3b | Collect|ionItem;|
|00000bf0| 0d 0a 0d 0a 09 69 66 28 | 20 50 61 74 72 6f 6c 53 |.....if(| PatrolS|
|00000c00| 65 74 49 74 65 72 61 74 | 6f 72 2e 47 65 74 43 75 |etIterat|or.GetCu|
|00000c10| 72 72 65 6e 74 49 74 65 | 6d 28 20 43 6f 6c 6c 65 |rrentIte|m( Colle|
|00000c20| 63 74 69 6f 6e 49 74 65 | 6d 20 29 20 26 26 20 43 |ctionIte|m ) && C|
|00000c30| 6f 6c 6c 65 63 74 69 6f | 6e 49 74 65 6d 2e 49 73 |ollectio|nItem.Is|
|00000c40| 41 28 20 27 41 63 74 6f | 72 27 20 29 20 29 0d 0a |A( 'Acto|r' ) )..|
|00000c50| 09 7b 0d 0a 09 09 43 75 | 72 72 65 6e 74 47 6f 61 |.{....Cu|rrentGoa|
|00000c60| 6c 41 63 74 6f 72 20 3d | 20 41 63 74 6f 72 28 20 |lActor =| Actor( |
|00000c70| 43 6f 6c 6c 65 63 74 69 | 6f 6e 49 74 65 6d 20 29 |Collecti|onItem )|
|00000c80| 3b 0d 0a 09 09 62 52 65 | 74 75 72 6e 20 3d 20 74 |;....bRe|turn = t|
|00000c90| 72 75 65 3b 0d 0a 09 7d | 0d 0a 09 0d 0a 09 2f 2f |rue;...}|......//|
|00000ca0| 63 6c 61 73 73 27 44 65 | 62 75 67 27 2e 73 74 61 |class'De|bug'.sta|
|00000cb0| 74 69 63 2e 44 65 62 75 | 67 4c 6f 67 28 20 43 6f |tic.Debu|gLog( Co|
|00000cc0| 6e 74 65 78 74 4f 62 6a | 65 63 74 2c 20 22 47 65 |ntextObj|ect, "Ge|
|00000cd0| 74 47 6f 61 6c 41 63 74 | 6f 72 20 43 75 72 72 65 |tGoalAct|or Curre|
|00000ce0| 6e 74 47 6f 61 6c 41 63 | 74 6f 72 3a 20 22 20 24 |ntGoalAc|tor: " $|
|00000cf0| 20 43 75 72 72 65 6e 74 | 47 6f 61 6c 41 63 74 6f | Current|GoalActo|
|00000d00| 72 2c 20 44 65 62 75 67 | 43 61 74 65 67 6f 72 79 |r, Debug|Category|
|00000d10| 4e 61 6d 65 20 29 3b 0d | 0a 09 2f 2f 63 6c 61 73 |Name );.|..//clas|
|00000d20| 73 27 44 65 62 75 67 27 | 2e 73 74 61 74 69 63 2e |s'Debug'|.static.|
|00000d30| 44 65 62 75 67 4c 6f 67 | 28 20 43 6f 6e 74 65 78 |DebugLog|( Contex|
|00000d40| 74 4f 62 6a 65 63 74 2c | 20 22 47 65 74 47 6f 61 |tObject,| "GetGoa|
|00000d50| 6c 41 63 74 6f 72 20 72 | 65 74 75 72 6e 69 6e 67 |lActor r|eturning|
|00000d60| 20 22 20 24 20 62 52 65 | 74 75 72 6e 2c 20 44 65 | " $ bRe|turn, De|
|00000d70| 62 75 67 43 61 74 65 67 | 6f 72 79 4e 61 6d 65 20 |bugCateg|oryName |
|00000d80| 29 3b 0d 0a 09 72 65 74 | 75 72 6e 20 62 52 65 74 |);...ret|urn bRet|
|00000d90| 75 72 6e 3b 0d 0a 7d 0d | 0a 0d 0a 00 |urn;..}.|.... |
+--------+-------------------------+-------------------------+--------+--------+