Пример #1
0
        /// <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;
        }
Пример #2
0
        private async Task LoadActorsAsync()
        {
            var showPeople = await _client.Shows.GetShowPeopleAsync(Show.Ids.Trakt.ToString(), new TraktExtendedOption { Full = true, Images = true });

            Actors.AddRange(showPeople.Cast);
        }
Пример #3
0
 public Tile(int elevation, IEnumerable <Actor> actors)
 {
     Elevation = elevation;
     Actors.AddRange(actors);
 }
Пример #4
0
 /// <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);
 }
Пример #5
0
 /// <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);
 }