Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/candybox2/candybox2.github.io
/ addMonster
Method
addMonster
code/main/CastleRoom3.ts:105–108 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
103
}
104
105
private addMonster(): void{
106
this.monster =
new
Monster(this,
new
Pos(67, 3));
107
this.addEntity(this.monster);
108
}
109
110
private addWalls(): void{
111
// Create the wall entity
Callers
1
constructor
Method · 0.95
Calls
1
addEntity
Method · 0.80
Tested by
no test coverage detected