mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-01 10:55:35 +00:00
27 lines
471 B
C#
27 lines
471 B
C#
using Godot;
|
|
using System;
|
|
|
|
public partial class InventoryManager : Node2D
|
|
{
|
|
public bool RedKeycard { get; set; }
|
|
|
|
// Called when the node enters the scene tree for the first time.
|
|
public override void _Ready()
|
|
{
|
|
}
|
|
|
|
// Called every frame. 'delta' is the elapsed time since the previous frame.
|
|
public override void _Process(double delta)
|
|
{
|
|
}
|
|
|
|
public void AddRedKeycard()
|
|
{
|
|
RedKeycard = true;
|
|
}
|
|
|
|
public void RemoveRedKeycard()
|
|
{
|
|
RedKeycard = false;
|
|
}
|
|
}
|