1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859 |
- using System.Collections;
- using System.Collections.Generic;
- using UnityEngine;
- using FSRole;
- using UnityEngine.UI;
- namespace FSCard
- {
-
- public enum CardType {
-
- CARD_TYPE_ATTACK = 1,
-
- CARD_TYPE_DEFANCE = 2,
-
- CARD_TYPE_SPEC = 3,
- }
-
- public interface Card {
-
- CardType Type { set; get; }
-
- string ID { set; get; }
-
- int Cost { set; get; }
-
- int Tenacity { set; get; }
-
- int Value { set; get; }
-
- Role Target { set; get; }
-
- string BuffID { set; get; }
-
- string Desc { set; get; }
-
- Role Source { set; get; }
-
- Image Face { set; get; }
-
- Image TenacityImage { set; get; }
-
- Image CostImage { set; get; }
-
- Text DescLabel { set; get; }
-
- bool IsFront { set; get; }
-
- void OnExecute();
-
- void SetFront(bool face);
- }
- }
|