mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-10 09:25:54 +00:00
Disabled navigation
This commit is contained in:
parent
7b8abba100
commit
3681614196
7 changed files with 126 additions and 4 deletions
|
|
@ -16,13 +16,19 @@ public partial class GameManager : Node2D
|
|||
[Export]
|
||||
public Marker2D PlayerSpawnMarker { get; set; }
|
||||
|
||||
|
||||
private InventoryManager _inventoryManager { get; set; }
|
||||
|
||||
public InventoryManager Inventory => _inventoryManager;
|
||||
|
||||
|
||||
// Called when the node enters the scene tree for the first time.
|
||||
public override void _Ready()
|
||||
{
|
||||
_hud = GetNode<Hud>("HUD");
|
||||
_cameraTarget = GetNode<Node2D>("CameraTarget");
|
||||
|
||||
_inventoryManager = GetNode<InventoryManager>("InventoryManager");
|
||||
|
||||
if (PlayerSpawnMarker != null)
|
||||
{
|
||||
SpawnPlayer();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue