Added some TODO for minor (important) fixes
This commit is contained in:
3
.gitignore
vendored
3
.gitignore
vendored
@ -1,3 +1,6 @@
|
|||||||
*.~undo-tree~
|
*.~undo-tree~
|
||||||
*.dSYM~
|
*.dSYM~
|
||||||
*#*
|
*#*
|
||||||
|
*.o
|
||||||
|
*.d
|
||||||
|
cc3k
|
@ -69,6 +69,7 @@ void character::set_hostile(const bool is_hostile) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void character::apply_buff(const stat_name statn, const int amount) {
|
void character::apply_buff(const stat_name statn, const int amount) {
|
||||||
|
// TODO: add checks for bounds
|
||||||
switch (statn) {
|
switch (statn) {
|
||||||
case stat_name::HP:
|
case stat_name::HP:
|
||||||
HP += amount;
|
HP += amount;
|
||||||
|
@ -10,6 +10,7 @@ shade::shade(const position_list &available_positions):
|
|||||||
hostile = true;
|
hostile = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// TODO: this shouldn't be a pure virtual functions
|
||||||
// IMPORTANT: remember to check if player is on the stairs
|
// IMPORTANT: remember to check if player is on the stairs
|
||||||
result shade::move(const direction dir,
|
result shade::move(const direction dir,
|
||||||
const position_list &available_positions) {
|
const position_list &available_positions) {
|
||||||
|
Reference in New Issue
Block a user