using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace OpenRa.Game.Traits { class ChronosphereInfo : StatelessTraitInfo { } class Chronosphere : IResolveOrder { public void ResolveOrder(Actor self, Order order) { if (order.OrderString == "PlayAnimation") { var rb = self.traits.Get(); if (rb != null) rb.PlayCustomAnim(self, order.TargetString); } } } }