X-Git-Url: https://plomlompom.com/repos/?a=blobdiff_plain;f=src%2Fmap_object_actions.h;h=6034611a7df36ddc4d0f8851f5278a72329f6b17;hb=550d22ec0c3f530f5d317746f3f7e75251a1de4b;hp=2edc172e7a73d1cd96f99b861b957bb5785ed988;hpb=f2a7bc28be634fde4dfe4bde4c83395cab9efa91;p=plomrogue diff --git a/src/map_object_actions.h b/src/map_object_actions.h index 2edc172..6034611 100644 --- a/src/map_object_actions.h +++ b/src/map_object_actions.h @@ -25,8 +25,10 @@ extern void move_monster(struct World * world, struct Monster * monster); /* Try to move player in direction "d". On contact with monster, fight / reduce - * monster's hitpoints, and thereby potentially trigger the monster's death. - * Update the log on whatever the player did and turn control over to the enemy. + * monster's hitpoints, and thereby potentially trigger the monster's death, + * create a corpse and increment the player's score by the amount of hitpoints + * the monster started with. Update the log on whatever the player did and turn + * control over to the enemy. */ extern void move_player (struct World * world, enum dir d);