Update soccer.py

This commit is contained in:
brostos 2025-07-26 04:00:53 +03:00 committed by GitHub
parent 248ab4360c
commit 605020ab93
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,11 +1,18 @@
# Released under the MIT License. See LICENSE for details.
# BY Stary_Agent
"""Hockey game and support classes."""
plugman = dict(
plugin_name="soccer",
description="Shoot the ball in left or right edge of the map to score",
external_url="https://www.youtube.com/watch?v=dQw4w9WgXcQ",
authors=[{"name": "mr.sample", "email": "sample@sample.com", "discord": "sample"}],
version="2.1.0"
)
# ba_meta require api 8
# (see https://ballistica.net/wiki/meta-tag-system)
from __future__ import annotations
plugman = dict(
from bascenev1lib.gameutils import SharedObjects
from bascenev1lib.actor.powerupbox import PowerupBoxFactory
from bascenev1lib.actor.scoreboard import Scoreboard
@ -14,12 +21,7 @@ plugman = dict(
import bauiv1 as bui
import babase
from typing import TYPE_CHECKING
plugin_name="soccer",
description="Shoot the ball in left or right edge of the map to score",
external_url="https://www.youtube.com/watch?v=dQw4w9WgXcQ",
authors=[{"name": "mr.sample", "email": "sample@sample.com", "discord": "sample"}],
version="2.1.0",
)
if TYPE_CHECKING: