Make update virtual
This commit is contained in:
parent
2e042981fc
commit
b6abc6725c
@ -24,7 +24,7 @@ class Propulsion {
|
||||
|
||||
/// @brief Update the propulsion state of the Roboid
|
||||
/// @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
|
||||
/// @return The number of motors. Zero when no motors are present
|
||||
|
Loading…
x
Reference in New Issue
Block a user