Player can select job position now

This commit is contained in:
2023-04-30 16:45:05 +03:00
parent 18c8ba0f8c
commit 0dfd80cf16
14 changed files with 97 additions and 31 deletions
@@ -13,8 +13,9 @@ public class OfficeTable : BaseInteractableObject
UIManager.Instance.ShowJobSelectionDialog("Job agency", null, OnConfirm);
}
private void OnConfirm()
private void OnConfirm(JobInfoSO selectedJob)
{
_player.JobPosition = JobPositions.Clerk;
_player.JobPosition = selectedJob.JobPosition;
print($"player selected position is {_player.JobPosition}");
}
}