Files
vampire-like/Assets/GameMain/Scripts/Base/Entity/PlayerData.cs
T

23 lines
501 B
C#

using System;
using SepCore.Definition;
namespace SepCore.Entity
{
[Serializable]
public class PlayerData : TargetableObjectData
{
private int _maxExp;
public PlayerData(int entityId, string assetName = "Player") : base(assetName, entityId, CampType.Player)
{
MaxHealthBase = 100;
}
public PlayerData(int entityId, int typeId) : this(entityId, "Player")
{
}
public override int MaxHealthBase { get; }
}
}