Add wood dummy

This commit is contained in:
Mootfrost777 2024-08-17 18:07:12 +03:00
parent 19a7676b1d
commit ec550ea093
2 changed files with 15 additions and 1 deletions

View file

@ -13,6 +13,6 @@ public class Collectable : Interactable
public override void OnInteraction(object sender, CollisionComponent e)
{
AppManager.Instance.server.AddData(new UpdateInteraction(Id));
}
}

View file

@ -0,0 +1,14 @@
using System.Collections.Generic;
using Microsoft.Xna.Framework;
using ZoFo.GameCore.Graphics;
namespace ZoFo.GameCore.GameObjects.Entities.Interactables.Collectables;
public class Wood : Collectable
{
public override GraphicsComponent graphicsComponent { get; } = new(new List<string> { "Wood" }, "Wood");
public Wood(Vector2 position) : base(position)
{
}
}