The implementation needs more work. For example - the pathfinding didn't work (in my playsession?). Instead of going through the opening, the whale tried to go through the wall (like it is trying to reach the target in the most direct way without understanding that there are obstacles).

Nevertheless it's an interesting concept. You should continue working on it. Good luck!