Added some TODO for minor (important) fixes

This commit is contained in:
a25liang
2024-06-30 11:56:27 -04:00
parent 0523113f62
commit b8b3af362a
3 changed files with 5 additions and 0 deletions

3
.gitignore vendored
View File

@ -1,3 +1,6 @@
*.~undo-tree~
*.dSYM~
*#*
*.o
*.d
cc3k

View File

@ -69,6 +69,7 @@ void character::set_hostile(const bool is_hostile) {
}
void character::apply_buff(const stat_name statn, const int amount) {
// TODO: add checks for bounds
switch (statn) {
case stat_name::HP:
HP += amount;

View File

@ -10,6 +10,7 @@ shade::shade(const position_list &available_positions):
hostile = true;
}
// TODO: this shouldn't be a pure virtual functions
// IMPORTANT: remember to check if player is on the stairs
result shade::move(const direction dir,
const position_list &available_positions) {