Ejemplo n.º 1
0
 public static CardEntity[] GetPlayerResourceCardsIncludeBox(this CardContext context, GameEntity playerEntity)
 {
     return(context.GetResourceCards()
            .Where(c => c.hasOwner && c.owner.Entity == playerEntity)
            .ToArray());
 }