private void D_Updated(object sender, IHasThoughts e) { if (e is IDweller dweller) { CommunityViewModel.WriteLine($"{dweller.Id}/{dweller.Name} Finished Thought {Community.Iteration}"); } }
public BasicMovementThought(IHasThoughts thoughtObject, IPosition position) : base(thoughtObject) => Destination = position;
public BasicMovementThought(IHasThoughts thoughtObject, double x, double y) : this(thoughtObject, new BasicPosition(x, y)) { }
//private IPosition _destination; //public IPosition Destination //{ // get => _destination; // private set // { // _destination = value; // } //} public BasicMovementThought(IHasThoughts thoughtObject) : base(thoughtObject) { }