MCPcopy Create free account
hub / github.com/EasyRPG/Player / GetVehicle

Method GetVehicle

src/game_map.cpp:1859–1867  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1857}
1858
1859Game_Vehicle* Game_Map::GetVehicle(Game_Vehicle::Type which) {
1860 if (which == Game_Vehicle::Boat ||
1861 which == Game_Vehicle::Ship ||
1862 which == Game_Vehicle::Airship) {
1863 return &vehicles[which - 1];
1864 }
1865
1866 return nullptr;
1867}
1868
1869bool Game_Map::IsAnyEventStarting() {
1870 for (Game_Event& ev : events)

Callers 3

UpdateMethod · 0.45
IsInUseMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected