This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
IL_001e: call class [System]System.Diagnostics.Stopwatch [System]System.Diagnostics.Stopwatch::StartNew() | |
IL_0023: stloc.1 | |
IL_0024: ldloc.0 | |
IL_0025: ldsfld class [mscorlib]System.Func`2<class ConsoleApplication5.Program/Fuu,bool> ConsoleApplication5.Program::'CS$<>9__CachedAnonymousMethodDelegate3' | |
IL_002a: brtrue.s IL_003d | |
IL_002c: ldnull | |
IL_002d: ldftn bool ConsoleApplication5.Program::'<Main>b__1'(class ConsoleApplication5.Program/Fuu) | |
IL_0033: newobj instance void class [mscorlib]System.Func`2<class ConsoleApplication5.Program/Fuu,bool>::.ctor(object, | |
native int) | |
IL_0038: stsfld class [mscorlib]System.Func`2<class ConsoleApplication5.Program/Fuu,bool> ConsoleApplication5.Program::'CS$<>9__CachedAnonymousMethodDelegate3' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//FightCode can only understand your robot | |
//if its class is called Robot | |
var Robot = function(robot) { | |
}; | |
Robot.prototype.onIdle = function(ev) { | |
var robot = ev.robot; | |
robot.ahead(40); |
NewerOlder