コード例 #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
ファイル: Tile.cs プロジェクト: shasta9/seawar
 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);
 }