<commit_before>import greenfoot.*;  // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)
import java.util.*;
/**
 * Write a description of class MumbaiIndia here.
 * 
 * @author (your name) 
 * @version (a version number or a date)
 */
public class MumbaiIndia extends Place
{
    /**
     * Act - do whatever the MumbaiIndia wants to do. This method is called whenever
     * the 'Act' or 'Run' button gets pressed in the environment.
     */
    String backgroundImgPath;
    String textHintPath;
    String soundHintPath;
    String imageHintpath ;
    String answerOption1Path ;
    String answerOption2Path;
    String answerOption3Path ;
    String answerOption4Path;

    int life = 0;
    int hint = 1;

    AnswerOption ansOP1;
    AnswerOption ansOP2;
    AnswerOption ansOP3;
    AnswerOption ansOP4;
    AnswerOption hintImg;

    public MumbaiIndia(){
        backgroundImgPath = "images/Mumbai/background.jpg";
        textHintPath = "To win there is a cape of good hope";
        soundHintPath="";
        imageHintpath = "images/CapeTownAfrica/hintimg.jpg";
        
        answerOption1Path = "images/CapeTownAfrica/CapeTownCorrectOption.jpg";
        answerOption2Path = "images/CapeTownAfrica/CapeTownIncorrectOption1.jpg";
        answerOption3Path = "images/CapeTownAfrica/CapeTownIncorrectOption2.jpg";
        answerOption4Path = "images/CapeTownAfrica/CapeTownIncorrectOption3.jpg";
    }

    public void draw(){
        initialize();
        setBackground(backgroundImgPath);
        showHint1(textHintPath);
        hint= hint+1;
        hint= hint+1;

        ansOP1 = new  AnswerOption(answerOption1Path,true);
        ansOP2 = new  AnswerOption(answerOption2Path,false);
        ansOP3 = new  AnswerOption(answerOption3Path,false);
        ansOP4 = new  AnswerOption(answerOption4Path,false);
        setAnswerOptions(ansOP1,ansOP2,ansOP3,ansOP4);

        //showHurdle();
        //showHurdle();
    }

   
    public void act() 
    {
        // Add your action code here.
        // Add your action code here.
        if(Greenfoot.mouseClicked(ansOP1))
        {

            System.out.println("weeee answer clicked is correct");
            //move to next stage
            cleanPlace();
            setNextPlace(new CapetownAfrica());

        }else if(Greenfoot.mouseClicked(ansOP2) || Greenfoot.mouseClicked(ansOP3) || Greenfoot.mouseClicked(ansOP4))<commit_msg>Update MumbaiIndia.java<commit_after>import greenfoot.*;  // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)
import java.util.*;
/**
 * Write a description of class MumbaiIndia here.
 * 
 * @author (your name) 
 * @version (a version number or a date)
 */
public class MumbaiIndia extends Place
{
    /**
     * Act - do whatever the MumbaiIndia wants to do. This method is called whenever
     * the 'Act' or 'Run' button gets pressed in the environment.
     */
    String backgroundImgPath;
    String textHintPath;
    String soundHintPath;
    String imageHintpath ;
    String answerOption1Path ;
    String answerOption2Path;
    String answerOption3Path ;
    String answerOption4Path;

    int life = 0;
    int hint = 1;

    AnswerOption ansOP1;
    AnswerOption ansOP2;
    AnswerOption ansOP3;
    AnswerOption ansOP4;
    AnswerOption hintImg;

    public MumbaiIndia(){
        backgroundImgPath = "images/Mumbai/background.jpg";
        textHintPath = "To win there is a cape of good hope";
        soundHintPath="";
        imageHintpath = "images/CapeTownAfrica/hintimg.jpg";
        
        answerOption1Path = "images/CapeTownAfrica/CapeTownCorrectOption.jpg";
        answerOption2Path = "images/CapeTownAfrica/CapeTownIncorrectOption1.jpg";
        answerOption3Path = "images/CapeTownAfrica/CapeTownIncorrectOption2.jpg";
        answerOption4Path = "images/CapeTownAfrica/CapeTownIncorrectOption3.jpg";
    }

    public void draw(){
        initialize();
        setBackground(backgroundImgPath);
        showHint1(textHintPath);
        hint= hint+1;
        
        ansOP1 = new  AnswerOption(answerOption1Path,true);
        ansOP2 = new  AnswerOption(answerOption2Path,false);
        ansOP3 = new  AnswerOption(answerOption3Path,false);
        ansOP4 = new  AnswerOption(answerOption4Path,false);
        setAnswerOptions(ansOP1,ansOP2,ansOP3,ansOP4);

        //showHurdle();
        //showHurdle();
    }

   
    public void act() 
    {
        // Add your action code here.
        // Add your action code here.
        if(Greenfoot.mouseClicked(ansOP1))
        {

            System.out.println("weeee answer clicked is correct");
            //move to next stage
            cleanPlace();
            setNextPlace(new CapetownAfrica());

        }else if(Greenfoot.mouseClicked(ansOP2) || Greenfoot.mouseClicked(ansOP3) || Greenfoot.mouseClicked(ansOP4))
{'fraction_non_alphanumeric': 0.0918918918918919, 'fraction_numerical': 0.014760914760914762, 'mean_word_length': 2.7674236491777604, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2458546', 'n_tokens_mistral': 1475, 'n_tokens_neox': 1394, 'n_words': 332}