<commit_before>import pygame
import Game
from Vector2 import Vector2

class MenuRight:

    def __init__(self, game, size=None, position=None):
        self.Money = 0
        self.TurnIncome = 0
        self.NextTurnIncome = 0
        self.RemainingMoves = 4
        self.Options = ["Buy units", "Your money", "Lands", "Turn income", "Next turn income", "Remaining moves"]
        self.Size = Vector2((game.Settings.Resolution.X - game.Settings.GetMapSize().X) // 2, game.Settings.Resolution.Y)
        self.Position = Vector2((game.Settings.Resolution.X - game.Settings.GetMapSize().X) // 2 + game.Settings.GetMapSize().X, 0)
        game.Settings.SetMenuLeftSize(self.Size)
        self.Screen = game.Settings.GetScreen()


    def Update(self, game: Game):
        return MenuRight(game, self.Size, self.Position)

    def Draw(self, game : Game):

        self.Font = game.Settings.getFont()

        for rightMenuItem in self.Options:
            self.Screen.blit(self.Font.render(rightMenuItem, True, (255, 255, 255)), (0, 0))
            print(rightMenuItem)

        pygame.draw.rect(self.Screen,
                         (0, 0, 255),
                         (self.Position.X, self.Position.Y, self.Size.X, self.Size.Y))

    # Setters and getters
    def getMoney(self):
        return self.Money

    def setMoney(self, newMoney):
        self.Money = newMoney

    def getTurnIncome(self):
        return self.TurnIncome
<commit_msg>Added text to right sidemenu<commit_after>import pygame
import Game
from Vector2 import Vector2

class MenuRight:

    def __init__(self, game, size=None, position=None):
        self.Money = 0
        self.TurnIncome = 0
        self.NextTurnIncome = 0
        self.RemainingMoves = 4
        self.Options = ["Buy units", "Your money", "Lands", "Turn income", "Next turn income", "Remaining moves"]
        self.Size = Vector2((game.Settings.Resolution.X - game.Settings.GetMapSize().X) // 2, game.Settings.Resolution.Y)
        self.Position = Vector2((game.Settings.Resolution.X - game.Settings.GetMapSize().X) // 2 + game.Settings.GetMapSize().X, 0)
        game.Settings.SetMenuLeftSize(self.Size)
        self.Screen = game.Settings.GetScreen()


    def Update(self, game: Game):
        return MenuRight(game, self.Size, self.Position)

    def Draw(self, game : Game):
        self.Count = 0
        self.Font = pygame.font.SysFont("Arial", 18)

        pygame.draw.rect(self.Screen,
                         (0, 0, 255),
                         (self.Position.X, self.Position.Y, self.Size.X, self.Size.Y))

        for rightMenuItem in self.Options:
            self.Count += 1
            print(self.Count)
            self.Screen.blit(self.Font.render(rightMenuItem, True, (255, 255, 255)), (self.Position.X + 30, self.Position.Y + (self.Count * 50)))

    # Setters and getters
    def getMoney(self):
        return self.Money

    def setMoney(self, newMoney):
        self.Money = newMoney

    def getTurnIncome(self):
        return self.TurnIncome

{'fraction_non_alphanumeric': 0.12574651625746516, 'fraction_numerical': 0.019907100199071003, 'mean_word_length': 2.4144960362400907, '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': '2541384', 'n_tokens_mistral': 997, 'n_tokens_neox': 910, 'n_words': 212}