/// <summary> /// Define os atores a serem utilizados para a verificação de colisão ao invés de utilizar uma tela. /// </summary> public void SetActors(params Actor[] entities) { Actors.Clear(); Actors.AddRange(entities); Screen = null; }
private async Task LoadActorsAsync() { var showPeople = await _client.Shows.GetShowPeopleAsync(Show.Ids.Trakt.ToString(), new TraktExtendedOption { Full = true, Images = true }); Actors.AddRange(showPeople.Cast); }
public Tile(int elevation, IEnumerable <Actor> actors) { Elevation = elevation; Actors.AddRange(actors); }
/// <summary> /// Initializes a new instance of the <see cref="Community"/> class with supplied actors. /// </summary> /// <param name="actors">Actor to be included in the community.</param> public Community(params Actor[] actors) { Actors.AddRange(actors); }
/// <summary> /// Initializes a new instance of the <see cref="Community"/> class with supplied actors. /// </summary> /// <param name="actors">Actor to be included in the community.</param> public Community(IEnumerable <Actor> actors) { Actors.AddRange(actors); }