openlegends_core/
card.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
pub mod cost;
pub mod group;
pub mod rarity;

pub use cost::Cost;
pub use group::Group;
pub use rarity::Rarity;

pub struct Card {
    pub cost: Cost,
    pub description: String,
    pub prophecy: bool,
    pub name: String,
    pub rarity: Rarity,
}