mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-08 22:15:55 +00:00
Red keycard base
This commit is contained in:
parent
396853f29a
commit
14893a544b
14 changed files with 291 additions and 19 deletions
28
Scripts/InventoryManager.cs
Normal file
28
Scripts/InventoryManager.cs
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
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;
|
||||
}
|
||||
}
|
||||
11
Scripts/Pickupper.cs
Normal file
11
Scripts/Pickupper.cs
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
using Godot;
|
||||
using System;
|
||||
|
||||
public partial class Pickupper : Activable
|
||||
{
|
||||
|
||||
public override void Activate()
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue