mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-01 11:15:33 +00:00
26 lines
499 B
C#
26 lines
499 B
C#
using Godot;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
|
|
public partial class Selector : Node2D
|
|
{
|
|
private Interactable _lastInteractable;
|
|
|
|
private List<Interactable> _interactables = new List<Interactable>();
|
|
|
|
private int _selectedInteractable;
|
|
|
|
public void AddInteractable(Interactable interactable)
|
|
{
|
|
if (!_interactables.Contains(interactable)) {
|
|
_interactables.Add(interactable);
|
|
}
|
|
}
|
|
|
|
public void RemoveInteractable()
|
|
{
|
|
|
|
}
|
|
|
|
|
|
}
|