player can work now

This commit is contained in:
2023-04-10 18:01:16 +03:00
parent f2753a363b
commit 2f69a2b046
19 changed files with 267 additions and 64 deletions
+1 -2
View File
@@ -2,11 +2,10 @@ using System;
public class Bed : BaseInteractableObject
{
private Player _player;
public override void Interact(Player player)
{
_player = player;
base.Interact(player);
_player.SetPlayerAnimation(AnimationStates.Sitting, OnAnimationFinished);
}