Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/candybox2/candybox2.github.io
/ setNextBirdAt
Method
setNextBirdAt
code/main/Desert.ts:177–179 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
175
}
176
177
private setNextBirdAt(): void{
178
this.nextBirdAt = 20 + Random.upTo(30);
179
}
180
181
private thePlayerWon(): boolean{
182
// If the player is at the right of the desert, we return true
Callers
2
constructor
Method · 0.95
update
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected