Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/EasyRPG/Player
/ IsInUse
Method
IsInUse
src/game_vehicle.cpp:116–118 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
114
}
115
116
bool Game_Vehicle::IsInUse() const {
117
return Main_Data::game_player->GetVehicle() == this;
118
}
119
120
bool Game_Vehicle::IsAboard() const {
121
return IsInUse() && Main_Data::game_player->IsAboard();
Callers
2
CommandMoveEvent
Method · 0.80
CommandConditionalBranch
Method · 0.80
Calls
1
GetVehicle
Method · 0.45
Tested by
no test coverage detected