Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/EasyRPG/Player
/ IsControllable
Method
IsControllable
src/game_actor.cpp:1238–1240 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1236
}
1237
1238
int Game_Actor::IsControllable() const {
1239
return GetSignificantRestriction() == lcf::rpg::State::Restriction_normal && !GetAutoBattle();
1240
}
1241
1242
1243
void Game_Actor::RemoveInvalidData() {
Callers
3
CreateActorAutoActions
Method · 0.80
IsAnyControllable
Method · 0.80
SelectPreviousActor
Method · 0.80
Calls
1
GetSignificantRestriction
Function · 0.85
Tested by
no test coverage detected