Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenStarbound/OpenStarbound
/ damaged
Method
damaged
source/game/StarTileDamage.cpp:213–215 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
211
}
212
213
bool TileDamageStatus::damaged() const {
214
return m_damagePercentage > 0.0f;
215
}
216
217
bool TileDamageStatus::damageProtected() const {
218
return m_damageType == TileDamageType::Protected;
Callers
3
update
Method · 0.80
updateDamagedBlocks
Method · 0.80
damageShake
Method · 0.80
Calls
1
get
Method · 0.45
Tested by
no test coverage detected