simplify sequence generator

This commit is contained in:
Imple Lee
2023-07-11 19:50:52 +08:00
parent b3a8724538
commit b7b02ab5bc
5 changed files with 183 additions and 213 deletions

View File

@@ -43,8 +43,8 @@ function bot_cc:revive()
self.P:loadAI(self.data)
end
function bot_cc:pushNewNext(id)
self.ccBot:addNext(rem(self.bufferedNexts,1))
ins(self.bufferedNexts,id)
self.ccBot:addNext(rem(self.bufferedNexts,1))
end
function bot_cc:thread()
local P,keys=self.P,self.keys