mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-05 16:55:54 +00:00
typed Open trigger
This commit is contained in:
parent
1907a38575
commit
4abf28066a
23 changed files with 2018 additions and 1440 deletions
12
Scripts/ActivationType.cs
Normal file
12
Scripts/ActivationType.cs
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
namespace Cirno.Scripts;
|
||||
|
||||
public enum ActivationType
|
||||
{
|
||||
Toggle,
|
||||
Enable,
|
||||
Disable,
|
||||
Use,
|
||||
Destroy,
|
||||
Open,
|
||||
Close
|
||||
}
|
||||
1
Scripts/ActivationType.cs.uid
Normal file
1
Scripts/ActivationType.cs.uid
Normal file
|
|
@ -0,0 +1 @@
|
|||
uid://dqcfv3jp4qev4
|
||||
|
|
@ -4,15 +4,4 @@ public interface IActivable
|
|||
{
|
||||
bool Activate(ActivationType activationType = ActivationType.Toggle);
|
||||
void Toggle();
|
||||
}
|
||||
|
||||
public enum ActivationType
|
||||
{
|
||||
Toggle,
|
||||
Enable,
|
||||
Disable,
|
||||
Use,
|
||||
Destroy,
|
||||
Open,
|
||||
Close
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue