mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-01 11:05:34 +00:00
18 lines
320 B
C#
18 lines
320 B
C#
using Godot;
|
|
using System;
|
|
using System.Diagnostics;
|
|
using Cirno.Scripts;
|
|
|
|
public partial class Activable : Area2D, IActivable
|
|
{
|
|
public virtual bool Activate(ActivationType activationType = ActivationType.Toggle)
|
|
{
|
|
//Debug.WriteLine("Activated");
|
|
return true;
|
|
}
|
|
|
|
public void Toggle()
|
|
{
|
|
this.Activate();
|
|
}
|
|
}
|