MCPcopy Create free account
hub / github.com/Code-Bullet/Jump-King / getNextAction

Method getNextAction

Brain.js:61–67  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

59 }
60
61 getNextAction() {
62 if(this.currentInstructionNumber >= this.instructions.length){
63 return null;
64 }
65 this.currentInstructionNumber += 1;
66 return this.instructions[this.currentInstructionNumber - 1];
67 }
68
69
70 clone() {

Callers 1

UpdateAIActionMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected