<commit_before>import pygame
from . import SceneBase, GameScene
from game.objects import Text, Button

class TitleScene(SceneBase):
    def __init__(self, context):
        SceneBase.__init__(self, context)
        self.title = Text(self.context, self.context.title)
        self.title.setPen(self.context.font_large)
        self.title.setLocation( (self.context.width - self.title.width) // 2,
                                (self.context.height - self.title.height) // 2)
        self.start_button = Button(self.context, "Play Game")
        self.start_button.setPen(self.context.font_small)
        self.start_button.setOnLeftClick(self.handleStartButtonClick)
        self.start_button.setOnHover(self.handleStartButtonHover)
        self.start_button.setLocation((self.context.width - self.start_button.width) // 2,
                                      ((self.context.height - self.start_button.height) // 2) + self.title.height )

    def ProcessInput(self, events, pressed_keys):
        for event in events:
            if event.type == pygame.KEYDOWN and event.key == pygame.K_RETURN:
                # Move to the next scene when the user pressed Enter
                pass
<commit_msg>modified start_button to reflect button changes<commit_after>import pygame
from . import SceneBase, GameScene
from game.objects import Text, Button, STATE

class TitleScene(SceneBase):
    def __init__(self, context):
        SceneBase.__init__(self, context)
        self.title = Text(self.context, self.context.title)
        self.title.setPen(self.context.font_large)
        self.title.setLocation( (self.context.width - self.title.width) // 2,
                                (self.context.height - self.title.height) // 2)
        self.start_button = Button(self.context, "Play Game")
        self.start_button.setPen(self.context.font_small)
        self.start_button.setPen(self.context.font, STATE.HOVER)
        self.start_button.setBackgroundColor((176,224,230))
        self.start_button.setOnLeftClick(self.handleStartButtonClick)
        self.start_button.setOnHover(self.handleStartButtonHover)
        self.start_button.setLocation((self.context.width - self.start_button.width) // 2,
                                      ((self.context.height - self.start_button.height) // 2) + self.title.height )

    def ProcessInput(self, events, pressed_keys):
        for event in events:
            if event.type == pygame.KEYDOWN and event.key == pygame.K_RETURN:
                # Move to the next scene when the user pressed Enter
                pass

{'fraction_non_alphanumeric': 0.10257410296411856, 'fraction_numerical': 0.006630265210608425, 'mean_word_length': 2.508891928864569, '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': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3485084', 'n_tokens_mistral': 748, 'n_tokens_neox': 717, 'n_words': 145}