ADD decoupling from FPS and game state

This commit is contained in:
dylandefaoite
2025-05-20 10:21:52 +02:00
parent 52df76081e
commit 058c16b685
3 changed files with 16 additions and 4 deletions

View File

@@ -2,7 +2,7 @@ from models.player import Player
from models.team import Team
class Match:
def __init__(self, map_name, game_info, team_1: Team, team_2: Team, game_events, tick_rate=128):
def __init__(self, map_name, game_info, team_1: Team, team_2: Team, game_events, tick_rate=64):
self.team_1 = team_1
self.team_2 = team_2

View File

@@ -8,6 +8,7 @@ class Team:
self.players = []
self.score = 0
self.id = 1
self.set_ct()
def add_player(self, player: Player):
self.players.append(player)