/** * Set whether this fish is stuck from moving on past obstacles in the level * * @param stuck Is the fish currently stuck or not */ public void SetStuck(bool stuck) { this.stuck = stuck; school.FishKilled(this); DeactivateFish(); }
/** * Handle this fish being caught */ public void Catch() { // remove the fish from the school school.FishKilled(this); DeactivateFish(); }