Start work on Inventory System

This commit is contained in:
VegaZ
2018-10-25 21:54:53 +02:00
parent b0bafcfa00
commit 4b9225ed29
8 changed files with 153 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
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;
}
}
}