mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-10 07:55:54 +00:00
Loot drops provider
This commit is contained in:
parent
cc85cd4b54
commit
cf4b11d157
9 changed files with 117 additions and 19 deletions
|
|
@ -1,4 +1,8 @@
|
|||
using Godot;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using Cirno.Scripts.Resources.Loot;
|
||||
using Godot;
|
||||
using Godot.Collections;
|
||||
|
||||
namespace Cirno.Scripts.Components.FSM.Enemy;
|
||||
|
||||
|
|
@ -11,8 +15,8 @@ public partial class EnemyStorageModule : Node2D
|
|||
public Vector2 FacingDirection { get; set; }
|
||||
|
||||
public float MovementSpeed => Root.EnemyResource.MovementSpeed;
|
||||
|
||||
|
||||
|
||||
public IEnumerable<LootDrop> LootDrops => Root.EnemyResource.LootDrops.Concat(Root.ExtraLoot);
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue