removing broken ABC and refactoring enemy movement
This commit is contained in:
23
resource_definitions/RMovement.cs
Normal file
23
resource_definitions/RMovement.cs
Normal file
@@ -0,0 +1,23 @@
|
||||
using Godot;
|
||||
using System;
|
||||
|
||||
[GlobalClass]
|
||||
public partial class RMovement : Resource
|
||||
{
|
||||
[Export(PropertyHint.Range, "0,10,0.1,or_greater")]
|
||||
public float Speed;
|
||||
|
||||
[Export(PropertyHint.Range, "0,20,1,or_greater")]
|
||||
public float TargetHeight;
|
||||
|
||||
public RMovement()
|
||||
{
|
||||
Speed = 3.0f;
|
||||
TargetHeight = 10.0f;
|
||||
}
|
||||
public RMovement(float speed, float targetHeight)
|
||||
{
|
||||
Speed = speed;
|
||||
TargetHeight = targetHeight;
|
||||
}
|
||||
}
|
||||
1
resource_definitions/RMovement.cs.uid
Normal file
1
resource_definitions/RMovement.cs.uid
Normal file
@@ -0,0 +1 @@
|
||||
uid://dtpxijlnb2c5
|
||||
Reference in New Issue
Block a user