From 35dba74ded338bb0d4534f47519c15c5ef66a32b Mon Sep 17 00:00:00 2001 From: tovl Date: Wed, 27 Feb 2019 21:37:30 +0100 Subject: [PATCH] remove unused CompositeActivity --- OpenRA.Game/Activities/Activity.cs | 23 ----------------------- 1 file changed, 23 deletions(-) diff --git a/OpenRA.Game/Activities/Activity.cs b/OpenRA.Game/Activities/Activity.cs index 5eb3815e33..648cce8045 100644 --- a/OpenRA.Game/Activities/Activity.cs +++ b/OpenRA.Game/Activities/Activity.cs @@ -285,29 +285,6 @@ namespace OpenRA.Activities } } - /// - /// In contrast to the base activity class, which is responsible for running its children itself, - /// composite activities rely on the actor's activity-running logic for their children. - /// - public abstract class CompositeActivity : Activity - { - /// - /// The getter will return the first non-null value of either child, next or parent activity, in that order, or ultimately null. - /// - public override Activity NextActivity - { - get - { - if (ChildActivity != null) - return ChildActivity; - else if (NextInQueue != null) - return NextInQueue; - else - return ParentActivity; - } - } - } - public static class ActivityExts { public static IEnumerable GetTargetQueue(this Actor self)