war and murder
This commit is contained in:
11
Scripts/EnemyBullet.cs
Normal file
11
Scripts/EnemyBullet.cs
Normal file
@@ -0,0 +1,11 @@
|
||||
using Godot;
|
||||
|
||||
public partial class EnemyBullet : Projectile
|
||||
{
|
||||
public Vector3 Target;
|
||||
|
||||
public override void _PhysicsProcess(double delta)
|
||||
{
|
||||
Translate(new Vector3(0, 0, -Speed * (float)delta));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user