This file declares the Tank class. More...
Go to the source code of this file.
Classes | |
class | Tank |
This file declares the Tank class.
The Tank class represents a fuel tank used in a train or locomotive. It stores information about the tank's capacity, current fuel level, state of capacity, depth of discharge, and other properties. The Tank class provides methods for setting and retrieving tank properties, consuming fuel from the tank, and checking tank status. The Tank class is intended to be used in a train simulation system. Note: The implementation of the class is not provided in this declaration file. It should be implemented separately in a corresponding source file.