Files
SimUL/Assets/Scripts/Interfaces/IStat.cs
T
2023-12-06 14:55:20 +02:00

32 lines
625 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Assets.Scripts.Interfaces
{
public interface IStat
{
string Name { get; }
}
public interface IStringStat
{
string Value { get; }
void SetValue(string value);
}
public interface INumericStat
{
float MaxValue { get; }
float Price { get; }
float Quantity { get; }
float Value { get; }
bool deduct(float amount);
void forceDeduct(float amount);
void increase(float byAmount);
}
}