1
Fork 0
mirror of https://github.com/Steffo99/hella-farm.git synced 2024-11-24 17:14:23 +00:00
Commit graph

16 commits

Author SHA1 Message Date
Lorenzo Rossi
c12ff464e2 Add eat_target and imp behaviour 2024-04-15 02:45:18 +02:00
Lorenzo Rossi
8f46ff5022 Generalize move_towards_mouse in move_towards
Also create move_towards_target
2024-04-14 18:20:50 +02:00
3d17dcd3f0
Make Sheeps Draggable with a CursorMagnet
Throwing and drag isn't implemented yet. Any ideas for how to do it with this framework?
Might be a good idea to do it on a branch first...
2024-04-14 07:46:06 +02:00
aa38f02244
Remove unused capture_area reference 2024-04-14 07:23:33 +02:00
470aa1cf8e
Remove speed limit from MoveTowardsMouse 2024-04-14 07:23:10 +02:00
45512a8ba1
Make it possible for MoveTowardsMouse to detach and stop moving 2024-04-14 05:12:10 +02:00
71a409df23
Fix reference in MoveTowardsMouse mysteriously not working 2024-04-14 04:30:23 +02:00
c7bd5c9359
Fix reference acquisition in MoveTowardsMouse 2024-04-14 04:18:38 +02:00
2849dee2dc
Fix MoveTowardsMouse using the wrong coordinate system 2024-04-14 04:11:34 +02:00
1aa785c08a
Specify return type of MainGame.get_ancestor 2024-04-14 04:07:35 +02:00
cfe8091901
Make type of MoveTowardsMouse.speed explicit 2024-04-14 04:04:26 +02:00
a1a027793c
Increase default speed of MoveTowardsMouse to 100 px/s 2024-04-14 04:03:01 +02:00
443cf25440
Start MoveTowardsMouse from State.STILL 2024-04-14 04:02:00 +02:00
ed8e09bd60
Add a HoverDetector acting as CaptureArea to MoveTowardsMouse 2024-04-14 03:55:57 +02:00
91d1ba50fc
Remove unused target variable in MoveTowardsMouse 2024-04-13 23:41:23 +02:00
cc2874dd90
Create generic MoveTowardsMouse behaviour 2024-04-13 23:40:34 +02:00