format
This commit is contained in:
@ -1,12 +1,12 @@
|
||||
#include "potion.h"
|
||||
|
||||
potion::potion(const potion_type type, const int duration):
|
||||
type{type}, remaining_duration{duration} {}
|
||||
type{type}, remaining_duration{duration} {}
|
||||
|
||||
potion_type potion::get_type() const {
|
||||
return type;
|
||||
return type;
|
||||
}
|
||||
|
||||
int potion::get_duration() const {
|
||||
return remaining_duration;
|
||||
return remaining_duration;
|
||||
}
|
||||
|
Reference in New Issue
Block a user