mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-20 14:23:47 +00:00
Activables
This commit is contained in:
parent
abff2ea59e
commit
bfe42b460b
9 changed files with 142 additions and 7 deletions
21
Scenes/Activable.cs
Normal file
21
Scenes/Activable.cs
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
using Godot;
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
|
||||
public partial class Activable : Area2D
|
||||
{
|
||||
// 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 Activate()
|
||||
{
|
||||
Debug.WriteLine("Activated");
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue