Implement boss room

This commit is contained in:
2024-09-16 02:48:14 -07:00
parent 55c521db3a
commit d0c78e54a7
119 changed files with 795 additions and 2080 deletions

View File

@@ -1,10 +1,8 @@
using Chickensoft.AutoInject;
using Chickensoft.GodotNodeInterfaces;
using Chickensoft.Introspection;
using GameJamDungeon;
using Godot;
using System;
using System.Linq;
[Meta(typeof(IAutoNode))]
public partial class ThrowableItem : Node3D, IInventoryItem
@@ -13,8 +11,6 @@ public partial class ThrowableItem : Node3D, IInventoryItem
[Dependency] public IGameRepo GameRepo => this.DependOn<IGameRepo>();
[Node] public IAnimationPlayer AnimationPlayer { get; set; } = default!;
[Node] public IHitbox Hitbox { get; set; } = default!;
public InventoryItemStats Info => ThrowableItemInfo;
@@ -32,7 +28,6 @@ public partial class ThrowableItem : Node3D, IInventoryItem
public void OnReady()
{
AnimationPlayer.AnimationFinished += OnAnimationFinished;
Sprite.Texture = ThrowableItemInfo.Texture;
Pickup.BodyEntered += OnEntered;
}