24 lines
516 B
C#
24 lines
516 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
public enum CardGrade {SSS,SS,S,A,B,C}
|
|
|
|
|
|
[System.Serializable]
|
|
|
|
public class Card
|
|
{
|
|
public string cardName;
|
|
public Sprite cardImage;
|
|
public CardGrade cardGrade;
|
|
public int weight;
|
|
|
|
public Card(Card card)
|
|
{
|
|
this.cardName = card.cardName;
|
|
this.cardImage = card.cardImage;
|
|
this.cardGrade = card.cardGrade;
|
|
this.weight = card.weight;
|
|
}
|
|
} |