Commit Graph

19 Commits

Author SHA1 Message Date
eichhornchen fbd9f0045b Friendly entities can now talk to the player, a sunflower entity was added to test this new feature. Related to issue #22 2020-11-27 18:38:48 +01:00
eichhornchen d987e60006 Added some documentation for menudisplay 2020-11-27 18:00:54 +01:00
eichhornchen ca86572677 Added a weapon class and a sword subclass 2020-11-27 17:56:01 +01:00
eichhornchen 3f301423fb Added a menudisplay class for menus with a value such as the menu of the merchants 2020-11-27 17:54:55 +01:00
eichhornchen bad56ba442 Added the merchants in the texturepack 2020-11-27 17:54:03 +01:00
eichhornchen 4fdf08cab9 Added a currency : the hazel (for hazelnuts). The player and the merchants possess a certain quantity of hazel 2020-11-27 17:11:59 +01:00
eichhornchen 76bbee7e6d Added a merchant class and a talk_to method to interact with friendly entities 2020-11-27 16:56:22 +01:00
eichhornchen 6b72f4b284 Added a friendly entity class. 2020-11-20 17:42:56 +01:00
eichhornchen 777f155d77 A test 2020-11-20 15:38:01 +01:00
ynerant b7207bb738 Merge branch 'game-logs' into 'master'
Game logs, see #12

See merge request ynerant/squirrel-battle!18
2020-11-19 22:48:39 +01:00
Nicolas Margulies 984b12421b Reaching 100% coverage and renamed an unused loop variable 2020-11-19 20:14:47 +01:00
Nicolas Margulies 1e5bb26f57 Test logs 2020-11-19 20:02:44 +01:00
eichhornchen a3821676f4 The strength of the player is now increased when he levels up 2020-11-19 16:17:02 +01:00
Nicolas Margulies 589f825765 Added logs to the layout, clear logs on new game (tests still aren't fixed) 2020-11-19 12:55:06 +01:00
Nicolas Margulies 6e71146aa2 First pass on the logs
The newly-added logs manage a list of messages. Entities do register a
message to it when hitting each other. Display is created, but not yet
added to the layout actually displayed.
2020-11-19 12:03:05 +01:00
Yohann D'ANELLO 0fbbf4925d Store configuration in user configuration directory 2020-11-19 03:13:01 +01:00
Yohann D'ANELLO 00f843754a Use a ResourceManager to find assets 2020-11-19 02:49:59 +01:00
Yohann D'ANELLO d92a5e1629 Add only one interrogation mark in settings menu 2020-11-19 02:47:36 +01:00
Yohann D'ANELLO d0ee9ec562 Rename dungeonbattle to squirrelbattle 2020-11-19 02:18:16 +01:00