Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenStarbound/OpenStarbound
/ setCurrentFuelLevel
Method
setCurrentFuelLevel
source/windowing/StarFuelWidget.cpp:91–93 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
89
}
90
91
void FuelWidget::setCurrentFuelLevel(float amount) {
92
m_fuelLevel = amount;
93
}
94
95
void FuelWidget::setMaxFuelLevel(float amount) {
96
m_maxLevel = amount;
Callers
1
update
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected