X-Git-Url: https://plomlompom.com/repos/%7B%7B%20web_path%20%7D%7D/decks/%7B%7Bdeck_id%7D%7D/cards/%7B%7Bcard_id%7D%7D/static/git-logo.png?a=blobdiff_plain;f=src%2Fmap_object_actions.h;h=6034611a7df36ddc4d0f8851f5278a72329f6b17;hb=9a9f9b13bef8394e1b25dc4d67ff72164dd28cce;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);