Files
reallife-gamemode/Server/Inventory/Items/FoodItem.cs
2018-10-25 21:54:53 +02:00

19 lines
406 B
C#

using GTANetworkAPI;
using reallife_gamemode.Server.Inventory.Interfaces;
using System;
using System.Collections.Generic;
using System.Text;
namespace reallife_gamemode.Server.Inventory.Items
{
public abstract class FoodItem : IUsableItem
{
public abstract int HpAmount { get; }
public void Use(Client player)
{
player.Health += HpAmount;
}
}
}