public void Apply() { Vector2 v2HouseCellLoc = new Vector2(_storageHouse.Location.X, _storageHouse.Location.Y); UnitMovementManager.SetMovableToMovePath( _farmer, _farmer.CellLocation, v2HouseCellLoc.WalkTo(Direction.S), _player._gameWorldRef.Map ); _farmer.UpdateMovingAnimation(); _farmer.CarryToHouse = false; // needed we farmer reaches the building to know that he should go back to farm _farmer.CameFromAFarm = true; // needed by the retrun from building to farm action _farmer.CellPositionOnWorkingFarm = _farmer.CellLocation; Console.WriteLine("carrying to house"); }