mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-01 11:05:34 +00:00
Keycards fix
This commit is contained in:
parent
2be069eab4
commit
91fcd73688
7 changed files with 46 additions and 16 deletions
|
|
@ -7,6 +7,7 @@ using Cirno.Scripts.Resources;
|
|||
|
||||
public partial class InventoryManager : Node2D
|
||||
{
|
||||
public static InventoryManager Instance { get; private set; }
|
||||
public bool RedKeycard { get; set; }
|
||||
|
||||
private Dictionary<string, ItemContainer> _itemsDict = new Dictionary<string, ItemContainer>();
|
||||
|
|
@ -24,10 +25,10 @@ public partial class InventoryManager : Node2D
|
|||
|
||||
[Signal]
|
||||
public delegate void ItemUsedEventHandler(LootItem itemKey, int totalCount);
|
||||
|
||||
// Called when the node enters the scene tree for the first time.
|
||||
|
||||
public override void _Ready()
|
||||
{
|
||||
Instance = this;
|
||||
}
|
||||
|
||||
// Called every frame. 'delta' is the elapsed time since the previous frame.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue