diff options
Diffstat (limited to 'game/activity.h')
-rw-r--r-- | game/activity.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/game/activity.h b/game/activity.h index 33c36fd..f7eda21 100644 --- a/game/activity.h +++ b/game/activity.h @@ -25,14 +25,4 @@ public: virtual void doActivity(const AC *, TickDuration) = 0; }; -template<typename T> class Activity::Of : public Activity { - void - apply(Vehicle * v, TickDuration dur) const override - { - if (auto tv = dynamic_cast<Can<T> *>(v)) { - tv->doActivity(static_cast<const T *>(this), dur); - } - } -}; - #endif |