MCPcopy Create free account
hub / github.com/OpenLoco/OpenLoco / getTrackLoc

Method getTrackLoc

src/OpenLoco/src/Vehicles/Vehicle.cpp:81–84  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

79 }
80
81 World::Pos3 VehicleBase::getTrackLoc() const
82 {
83 return World::Pos3(tileX, tileY, tileBaseZ * World::kSmallZStep);
84 }
85
86 TrackAndDirection VehicleBase::getTrackAndDirection() const
87 {

Callers 3

findOccupationByBlockFunction · 0.80
vehiclePickupWaterFunction · 0.80
sellVehicleFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected