@@ 40,7 40,7 @@ pub enum Command {
/// take a card from pile N
TakeFromPile {
index: usize,
- for_cost: i16,
+ for_cost: usize,
},
/// draw N amount of cards from deck
Draw {
@@ 28,7 28,7 @@ pub struct Card {
pub short_details: Vec<String>,
/// longer explanations of features of the card
pub long_details: Vec<String>,
- pub cost: i16,
+ pub cost: usize,
/// if set, use this?
//vp_cost: Option<u32>,
pub actions: Vec<CardAction>,
@@ 58,10 58,10 @@ pub struct PlayerStatus {
pub turn_n: usize,
pub display_name: String,
pub state: PlayerState,
- pub plays: i16,
- pub buys: i16,
- pub currency: i16,
- pub vp: i16,
+ pub plays: usize,
+ pub buys: usize,
+ pub currency: usize,
+ pub vp: usize,
pub hand: Vec<Card>,
pub deck: Vec<Card>,
pub discard: Vec<Card>,