Make update virtual

This commit is contained in:
Pascal Serrarens 2024-01-22 15:55:52 +01:00
parent 2e042981fc
commit b6abc6725c

View File

@ -24,7 +24,7 @@ class Propulsion {
/// @brief Update the propulsion state of the Roboid /// @brief Update the propulsion state of the Roboid
/// @param currentTimeMs The time in milliseconds when calling this /// @param currentTimeMs The time in milliseconds when calling this
void Update(float currentTimeMs); virtual void Update(float currentTimeMs);
/// @brief Get the number of motors in this roboid /// @brief Get the number of motors in this roboid
/// @return The number of motors. Zero when no motors are present /// @return The number of motors. Zero when no motors are present