Add projectiles
This commit is contained in:
10
Zennysoft.Game.Ma/src/items/jewels/JewelStats.cs
Normal file
10
Zennysoft.Game.Ma/src/items/jewels/JewelStats.cs
Normal file
@@ -0,0 +1,10 @@
|
||||
using Chickensoft.Introspection;
|
||||
using Godot;
|
||||
|
||||
namespace Zennysoft.Game.Ma;
|
||||
|
||||
[GlobalClass]
|
||||
[Meta, Id("jewel_stat_type")]
|
||||
public partial class JewelStats : InventoryItemStats
|
||||
{
|
||||
}
|
||||
1
Zennysoft.Game.Ma/src/items/jewels/JewelStats.cs.uid
Normal file
1
Zennysoft.Game.Ma/src/items/jewels/JewelStats.cs.uid
Normal file
@@ -0,0 +1 @@
|
||||
uid://btikba31yb0tl
|
||||
18
Zennysoft.Game.Ma/src/items/jewels/Jewels.cs
Normal file
18
Zennysoft.Game.Ma/src/items/jewels/Jewels.cs
Normal file
@@ -0,0 +1,18 @@
|
||||
using Godot;
|
||||
using System;
|
||||
using Zennysoft.Game.Ma;
|
||||
using Zennysoft.Ma.Adapter;
|
||||
|
||||
public partial class Jewels : InventoryItem
|
||||
{
|
||||
public override string ItemName { get; }
|
||||
public override string Description { get; }
|
||||
public override float SpawnRate { get; }
|
||||
public override int ThrowDamage { get; }
|
||||
public override float ThrowSpeed { get; }
|
||||
public override ItemTag ItemTag { get; }
|
||||
|
||||
public override Texture2D GetTexture() => throw new NotImplementedException();
|
||||
|
||||
public JewelStats Stats { get; set; } = new JewelStats();
|
||||
}
|
||||
1
Zennysoft.Game.Ma/src/items/jewels/Jewels.cs.uid
Normal file
1
Zennysoft.Game.Ma/src/items/jewels/Jewels.cs.uid
Normal file
@@ -0,0 +1 @@
|
||||
uid://bou7fk1evvet
|
||||
Reference in New Issue
Block a user