moving files around
This commit is contained in:
23
scenes/enemies/flying_enemy/FlyingEnemyInputs.cs
Normal file
23
scenes/enemies/flying_enemy/FlyingEnemyInputs.cs
Normal file
@@ -0,0 +1,23 @@
|
||||
using Godot;
|
||||
using System;
|
||||
|
||||
[GlobalClass]
|
||||
public partial class FlyingEnemyInputs : Resource
|
||||
{
|
||||
[Export(PropertyHint.Range, "0,10,0.1,or_greater")]
|
||||
public float Speed;
|
||||
|
||||
[Export(PropertyHint.Range, "0,100,1,or_greater")]
|
||||
public float TargetHeight;
|
||||
|
||||
public FlyingEnemyInputs()
|
||||
{
|
||||
Speed = 5.0f;
|
||||
TargetHeight = 50.0f;
|
||||
}
|
||||
public FlyingEnemyInputs(float speed, float targetHeight)
|
||||
{
|
||||
Speed = speed;
|
||||
TargetHeight = targetHeight;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user