Commit Graph

109 Commits

Author SHA1 Message Date
3b294030f4 Fixed movement when moveTimeout is zero 2020-05-17 01:30:38 +02:00
ada3564713 Fixed issue with targets forwards to player 2020-05-17 01:02:07 +02:00
dcc8da6d2a Changed fatigue 2020-05-17 00:14:23 +02:00
1c8b21bf2c Changed fatigue 2020-05-16 16:23:49 +02:00
a45be130e6 Added disableMovementTime method 2020-05-16 12:36:37 +02:00
15babde728 buffed fatigue 2020-05-16 11:01:01 +02:00
233ce2462c fixed movePoints 2020-05-16 10:59:46 +02:00
25372c2f34 Added tooltip to affinities 2020-05-16 10:44:34 +02:00
b61ffc008b Now uses classifier enum instead of stings 2020-05-16 10:21:37 +02:00
a0c315a600 Added Classifiers enum 2020-05-16 10:21:23 +02:00
fce8eea181 Player may now have affinities to entity types 2020-05-16 10:07:35 +02:00
454e0ac87d __str__ prints classifiers 2020-05-16 10:01:47 +02:00
fa1fe48abb Added __str__ method 2020-05-16 09:59:53 +02:00
90746c51d9 Added missing param hint in docstring 2020-05-16 09:51:04 +02:00
215dd876f7 Added classifier param to the constructor 2020-05-16 09:50:10 +02:00
8c3bdc3726 Interactable entities now have classification field 2020-05-16 09:48:42 +02:00
8df63bb607 Stamina loss is quicker 2020-05-15 16:59:02 +02:00
d45daadc60 Player may now die out of exhaustion 2020-05-15 08:58:07 +02:00
fad3d68b55 getFacingCoord screenRelative now defaults to false 2020-05-14 16:30:10 +02:00
3924023a92 Documentation fixes 2020-05-14 16:24:59 +02:00
085446ea93 Added more documentation 2020-05-14 16:16:19 +02:00
1610f9c0da Fixed imports 2020-05-14 14:54:11 +02:00
844397191a Added tooltips to getCoords and SetCoords 2020-05-14 12:56:33 +02:00
065111dee9 Changed default param 2020-05-14 12:11:46 +02:00
dac8583665 Changed tooltips 2020-05-14 12:07:35 +02:00
93f4e9f53d Changed tooltip 2020-05-14 12:05:32 +02:00
2618bbdf9c moveForward method uses relative coords 2020-05-14 12:05:12 +02:00
7ed974b194 Added newlines in docstrings 2020-05-14 11:46:52 +02:00
269e376756 getFacingCoord can now return non-relative coords 2020-05-14 11:46:06 +02:00
107bd0d8f7 Changed constructor 2020-05-14 11:32:13 +02:00
823eefac86 Fixed relative coord update 2020-05-14 11:18:58 +02:00
2bf0ed035b Added map coord offset 2020-05-14 11:15:27 +02:00
57b95e10df Added relative coords 2020-05-14 11:03:50 +02:00
649b61a84e Added pickup to move method 2020-05-13 20:17:17 +02:00
b3d38403ad Added documentation 2020-05-13 19:50:53 +02:00
effa48d7c3 Fixing item pickup action after completing the movement 2020-05-13 19:47:53 +02:00
a51661ae6e on_interaction method now removes the entity itself 2020-05-13 19:45:52 +02:00
28d9013983 Enums refactor 2020-05-13 19:36:06 +02:00
3ac188103a Player's movement adds fatigue 2020-05-13 19:32:52 +02:00
549c4f207f Movement moved to Entity 2020-05-13 19:31:51 +02:00
81bed4adeb All entities can now move 2020-05-13 19:25:08 +02:00
11b467db32 Added pickup action in Movement enum 2020-05-13 17:36:54 +02:00
45e7c412f8 rotation field and getFacingCoord method moved from Player to Entity 2020-05-13 17:33:45 +02:00
f104e90a0f Added documentation 2020-05-10 13:27:06 +02:00
0eea13331f Added documentation & code beautification 2020-05-10 13:17:11 +02:00
a76965cd91 Player now keeps track of the movement delay 2020-05-09 22:54:15 +02:00
752c3daa24 Added TODO markers 2020-05-09 22:30:21 +02:00
Michał Czekański
d5c9f5f801 Fix player rotation 2020-04-26 14:09:35 +02:00
Michał Czekański
a5569f0b8f Disable player stats lowering for A* test 2020-04-26 14:08:38 +02:00
d7e0b37666 Added new movement methods 2020-04-25 22:02:08 +02:00