Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/candybox2/candybox2.github.io
/ getDefense
Method
getDefense
code/main/SuperRPG.ts:124–126 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
122
}
123
124
public getDefense(): number{
125
return
this.defense;
126
}
127
128
public getDefenseItem(): string{
129
return
this.defenseItem;
Callers
3
playerAttacks
Method · 0.80
draw
Method · 0.80
buyDefenseItem
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected