コード例 #1
0
 private void D_Updated(object sender, IHasThoughts e)
 {
     if (e is IDweller dweller)
     {
         CommunityViewModel.WriteLine($"{dweller.Id}/{dweller.Name} Finished Thought {Community.Iteration}");
     }
 }
コード例 #2
0
 public BasicMovementThought(IHasThoughts thoughtObject, IPosition position)
     : base(thoughtObject)
     => Destination = position;
コード例 #3
0
 public BasicMovementThought(IHasThoughts thoughtObject, double x, double y)
     : this(thoughtObject, new BasicPosition(x, y))
 {
 }
コード例 #4
0
        //private IPosition _destination;


        //public IPosition Destination
        //{
        //	get => _destination;
        //	private set
        //	{
        //		_destination = value;

        //	}
        //}


        public BasicMovementThought(IHasThoughts thoughtObject) : base(thoughtObject)
        {
        }