add areaname
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user