MiniGame-PushPush/Assets/Scripts/Data/PlayerInfo.cs

31 lines
717 B
C#
Raw Normal View History

using FirstVillain.Entities;
2023-10-04 20:20:04 +09:00
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PlayerInfo
{
public int Id { get { return _table.Id; } }
public int STR { get { return _table.Str; } }
public float RANGE { get { return _table.Range; } }
public float SPEED { get { return _table.Speed; } }
2023-10-04 20:20:04 +09:00
public E_TEAM Team { get; private set; }
public string PrefapName { get { return _table.PrefabName; } }
public string UIPrefabName { get { return _table.UIPrefabName; } }
private JPlayerData _table;
public PlayerInfo(JPlayerData data)
{
_table = data;
}
public void SetTeam(E_TEAM team)
{
Team = team;
}
2023-10-04 20:20:04 +09:00
}