void IResolveOrder.ResolveOrder(Actor self, Order order) { var forceRallyPoint = RallyPoint.IsForceSet(order); if (order.OrderString == OrderID || forceRallyPoint) { SetPrimaryProducer(self, !IsPrimary || forceRallyPoint); } }
void INotifyCreated.Created(Actor self) { rp = self.TraitOrDefault <RallyPoint>(); }
protected override void Created(Actor self) { rp = self.TraitOrDefault <RallyPoint>(); base.Created(self); }