mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-10 18:15:53 +00:00
Keycards
This commit is contained in:
parent
14893a544b
commit
ba46799911
7 changed files with 60 additions and 6 deletions
|
|
@ -41,12 +41,15 @@ public partial class PlayerMovement : CharacterBody2D, IDestructible
|
|||
|
||||
private bool _isDestroyed = false;
|
||||
|
||||
//private InventoryManager _inventoryManager;
|
||||
|
||||
public override void _Ready()
|
||||
{
|
||||
_currentHealth = Health;
|
||||
|
||||
_animatedSprite = GetNode<AnimatedSprite2D>("./Smoothing2D/AnimatedSprite2D");
|
||||
_crosshair = GetNode<Sprite2D>("./Smoothing2D/Crosshair");
|
||||
//_inventoryManager = GetNode<InventoryManager>("/root/GameScene/InventoryManager");
|
||||
|
||||
_movementDirection = Vector2.Zero;
|
||||
_facingDirection = Vector2.Zero;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue