summaryrefslogtreecommitdiff
path: root/src/vehicle_base.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/vehicle_base.h')
-rw-r--r--src/vehicle_base.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/vehicle_base.h b/src/vehicle_base.h
index a5549b444..91d4ac0f9 100644
--- a/src/vehicle_base.h
+++ b/src/vehicle_base.h
@@ -367,6 +367,12 @@ public:
uint GetConsistTotalCapacity() const;
/**
+ * Is this vehicle drawn?
+ * @return true if it is drawn
+ */
+ bool IsDrawn() const;
+
+ /**
* Marks the vehicles to be redrawn and updates cached variables
*
* This method marks the area of the vehicle on the screen as dirty.