Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/candybox2/candybox2.github.io
/ constructor
Method
constructor
code/main/CandyBox.ts:13–21 ·
view source on GitHub ↗
(game: Game)
Source
from the content-addressed store, hash-verified
11
12
// Constructor
13
constructor(game: Game){
14
super(game);
15
16
// Resize the area
17
this.renderArea.resize(100, 40);
18
19
// Update
20
this.update();
21
}
22
23
// willBeDisplayed()
24
public willBeDisplayed(): void{
Callers
nothing calls this directly
Calls
2
update
Method · 0.95
resize
Method · 0.65
Tested by
no test coverage detected