mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-10 21:45:53 +00:00
Controllable enemies
This commit is contained in:
parent
cf4b11d157
commit
0aad79a0f8
18 changed files with 893 additions and 23 deletions
|
|
@ -18,6 +18,11 @@ public partial class Init : EnemyStateBase
|
|||
{
|
||||
GD.Print("Enemy init");
|
||||
DamageReceiver.HealthProvider.MaxResource = StorageModule.Root.EnemyResource.MaxHealth;
|
||||
|
||||
StorageModule.AiState = StorageModule.Root.StartingAiState;
|
||||
|
||||
// TODO: Hide wings
|
||||
// TODO: Hide aiming reticule
|
||||
|
||||
StateMachine.SetState(EnemyState.Idle);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue