MCPcopy 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
116bool Game_Vehicle::IsInUse() const {
117 return Main_Data::game_player->GetVehicle() == this;
118}
119
120bool Game_Vehicle::IsAboard() const {
121 return IsInUse() && Main_Data::game_player->IsAboard();

Callers 2

CommandMoveEventMethod · 0.80

Calls 1

GetVehicleMethod · 0.45

Tested by

no test coverage detected