mirror of
https://github.com/bombsquad-community/plugin-manager.git
synced 2025-10-08 14:54:36 +00:00
Updating air_soccer to api 9
This commit is contained in:
parent
c48f23f20a
commit
089b04dc27
2 changed files with 4 additions and 3 deletions
|
|
@ -556,6 +556,7 @@
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"versions": {
|
"versions": {
|
||||||
|
"1.1.0": null,
|
||||||
"1.0.1": {
|
"1.0.1": {
|
||||||
"api_version": 8,
|
"api_version": 8,
|
||||||
"commit_sha": "2b5c9ee",
|
"commit_sha": "2b5c9ee",
|
||||||
|
|
|
||||||
|
|
@ -1,10 +1,8 @@
|
||||||
# Porting to api 8 made easier by baport.(https://github.com/bombsquad-community/baport)
|
|
||||||
# Released under the MIT License. See LICENSE for details.
|
# Released under the MIT License. See LICENSE for details.
|
||||||
# BY Stary_Agent
|
# BY Stary_Agent
|
||||||
"""Hockey game and support classes."""
|
"""Hockey game and support classes."""
|
||||||
|
|
||||||
# ba_meta require api 8
|
# ba_meta require api 9
|
||||||
# (see https://ballistica.net/wiki/meta-tag-system)
|
|
||||||
|
|
||||||
from __future__ import annotations
|
from __future__ import annotations
|
||||||
|
|
||||||
|
|
@ -52,7 +50,9 @@ class Puck(bs.Actor):
|
||||||
self.last_players_to_touch: Dict[int, Player] = {}
|
self.last_players_to_touch: Dict[int, Player] = {}
|
||||||
self.scored = False
|
self.scored = False
|
||||||
assert activity is not None
|
assert activity is not None
|
||||||
|
print("hi")
|
||||||
assert isinstance(activity, HockeyGame)
|
assert isinstance(activity, HockeyGame)
|
||||||
|
print("meh")
|
||||||
pmats = [shared.object_material, activity.puck_material]
|
pmats = [shared.object_material, activity.puck_material]
|
||||||
self.node = bs.newnode('prop',
|
self.node = bs.newnode('prop',
|
||||||
delegate=self,
|
delegate=self,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue