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