Redesign and reimplement inventory menu
Add jewels but no implementation yet (needed redesign of inventory menu to function correctly)
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
using Chickensoft.AutoInject;
|
||||
using Chickensoft.Introspection;
|
||||
using Godot;
|
||||
using System;
|
||||
using Zennysoft.Game.Ma;
|
||||
using Zennysoft.Ma.Adapter;
|
||||
using Zennysoft.Ma.Adapter.Entity;
|
||||
@@ -23,13 +24,13 @@ public partial class Projectile : Node3D
|
||||
public void OnReady()
|
||||
{
|
||||
ProjectileHitbox.AreaEntered += Hitbox_AreaEntered;
|
||||
ProjectileHitbox.BodyEntered += ProjectileHitbox_BodyEntered;
|
||||
ProjectileHitbox.BodyEntered += ProjectileHitbox_BodyEntered1;
|
||||
ProjectileHitbox.BodyShapeEntered += ProjectileHitbox_BodyEntered;
|
||||
}
|
||||
|
||||
private void ProjectileHitbox_BodyEntered(Node3D body)
|
||||
{
|
||||
AnimationPlayer.Play("RESET");
|
||||
}
|
||||
private void ProjectileHitbox_BodyEntered1(Node3D body) => AnimationPlayer.Stop();
|
||||
|
||||
private void ProjectileHitbox_BodyEntered(Rid bodyRid, Node3D body, long bodyShapeIndex, long localShapeIndex) => AnimationPlayer.Stop();
|
||||
|
||||
public bool Fire()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user