public void ObjectDied(S.ObjectDied p) { if (ObjectList.TryGetValue(p.ObjectID, out MapObject ob)) { ob.ActionFeed.Add(new QueuedAction { Action = MirAction.Die, Direction = p.Direction, Location = new Vector2(p.Location.X, p.Location.Y) }); } }
public static void ObjectDied(S.ObjectDied p) { gameManager.ObjectDied(p); }