parthia_lib/
weapon.rs

1//! This file defines a unified way of dealing with different weapons and held
2//! items.
3
4use crate::unit::Unit;
5
6/// A weapon that is used to attack among units of type U.
7pub trait Weapon<U> where U: Unit {
8
9}
10
11/// A held item that affects combat among units of type U.
12pub trait Item<U> where U: Unit {
13
14}