mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-01 11:15:33 +00:00
31 lines
No EOL
595 B
C#
31 lines
No EOL
595 B
C#
using Cirno.Scripts.Components.Actors;
|
|
using Cirno.Scripts.Enums;
|
|
using Godot;
|
|
|
|
public partial class ActorAi : ActorModule
|
|
{
|
|
|
|
public EnemyState State { get; set; } = EnemyState.Idle;
|
|
|
|
[Export] // Temp until the special actor tha sets it
|
|
public AiState Ai { get; set; } = AiState.Disabled;
|
|
|
|
protected Actor _actor;
|
|
|
|
public override void Init(Actor actor)
|
|
{
|
|
_actor = actor;
|
|
|
|
Ai = actor.StartingAiState;
|
|
}
|
|
|
|
public override void PhysicsUpdate(double delta)
|
|
{
|
|
|
|
}
|
|
|
|
public override void Update(double delta)
|
|
{
|
|
|
|
}
|
|
} |