MCPcopy Create free account
hub / github.com/BespokeSynth/BespokeSynth / GetBattery

Method GetBattery

Source/PSMoveMgr.cpp:102–109  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

100}
101
102float PSMoveMgr::GetBattery(int id)
103{
104 if (mMove[id])
105 {
106 return psmove_get_battery(mMove[id]) / 5.0f;
107 }
108 return 0;
109}
110
111//--------------------------------------------------------------
112void PSMoveMgr::Update()

Callers 1

DrawModuleMethod · 0.80

Calls 1

psmove_get_batteryFunction · 0.50

Tested by

no test coverage detected