Major amounts of progress
This commit is contained in:
@@ -19,7 +19,7 @@ impl<T> StatisticSet<T>
|
||||
where
|
||||
T: PrimInt,
|
||||
{
|
||||
pub fn get_stat(&self, stat: Statistic) -> T {
|
||||
pub const fn get_stat(&self, stat: Statistic) -> T {
|
||||
match stat {
|
||||
Statistic::HP => self.hp,
|
||||
Statistic::Attack => self.attack,
|
||||
|
||||
Reference in New Issue
Block a user