reworking effects, turning them into their own scene for replicability
This commit is contained in:
27
Gameplay/Effect.cs
Normal file
27
Gameplay/Effect.cs
Normal file
@@ -0,0 +1,27 @@
|
||||
using Godot;
|
||||
using System;
|
||||
|
||||
public partial class Effect : Node
|
||||
{
|
||||
public Contact _contact;
|
||||
public virtual void Fire()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public virtual void End()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public virtual void SetContact(Contact CONTACT)
|
||||
{
|
||||
_contact = CONTACT;
|
||||
GD.Print(_contact);
|
||||
}
|
||||
|
||||
public virtual void Start()
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user