Exemplo n.º 1
0
 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)
         });
     }
 }
Exemplo n.º 2
0
 public static void ObjectDied(S.ObjectDied p)
 {
     gameManager.ObjectDied(p);
 }