Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/candybox2/candybox2.github.io
/ thePlayerWon
Method
thePlayerWon
code/main/Yourself.ts:174–181 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
172
}
173
174
private thePlayerWon(): boolean{
175
// If yourself is dead, we return true
176
if
(this.yourself.shouldDie())
177
return
true;
178
179
// Else we return false
180
return
false;
181
}
182
}
Callers
1
update
Method · 0.95
Calls
1
shouldDie
Method · 0.45
Tested by
no test coverage detected