Haydoggo / Beach-Escape

MIT License
0 stars 0 forks source link

Fix the Pelican #26

Closed diarmuidtherat closed 8 months ago

diarmuidtherat commented 9 months ago

Pelican should:

  1. damage a fish that is inside it, every tick
  2. be damaged by the fish that is inside it, every tick
  3. target fish that enter the area around it, not just directly in front of it
  4. only try to eat a fish if it is not currently trying to eat a fish
plexsoup commented 9 months ago

I've refactored the pelican to

plexsoup commented 8 months ago

Diarmuid reports the pelican should, but does not: release the captive fish when the pelican dies.

plexsoup commented 8 months ago

Hayden reports the pelican is spitting fish out in their original square, but the fish should be spit out in the pelican's square.