bascenev1lib.activity package¶
Submodules¶
bascenev1lib.activity.coopjoin module¶
Functionality related to the co-op join screen.
- class bascenev1lib.activity.coopjoin.CoopJoinActivity(settings: dict)[source]¶
Bases:
JoinActivity
Join-screen for co-op mode.
- on_transition_in() None [source]¶
Called when the Activity is first becoming visible.
Upon this call, the Activity should fade in backgrounds, start playing music, etc. It does not yet have access to players or teams, however. They remain owned by the previous Activity up until bascenev1.Activity.on_begin() is called.
bascenev1lib.activity.coopscore module¶
Provides a score screen for coop games.
- class bascenev1lib.activity.coopscore.CoopScoreScreen(settings: dict)[source]¶
-
Score screen showing the results of a cooperative game.
- on_begin() None [source]¶
Called once the previous Activity has finished transitioning out.
At this point the activity’s initial players and teams are filled in and it should begin its actual game logic.
- on_player_join(player: Player) None [source]¶
Called when a new bascenev1.Player has joined the Activity.
(including the initial set of Players)
- on_transition_in() None [source]¶
Called when the Activity is first becoming visible.
Upon this call, the Activity should fade in backgrounds, start playing music, etc. It does not yet have access to players or teams, however. They remain owned by the previous Activity up until bascenev1.Activity.on_begin() is called.
bascenev1lib.activity.drawscore module¶
Functionality related to the draw screen.
- class bascenev1lib.activity.drawscore.DrawScoreScreenActivity(settings: dict)[source]¶
Bases:
MultiTeamScoreScreenActivity
Score screen shown after a draw.
- default_music = None¶
bascenev1lib.activity.dualteamscore module¶
Functionality related to the end screen in dual-team mode.
- class bascenev1lib.activity.dualteamscore.TeamVictoryScoreScreenActivity(settings: dict)[source]¶
Bases:
MultiTeamScoreScreenActivity
Scorescreen between rounds of a dual-team session.
bascenev1lib.activity.freeforallvictory module¶
Functionality related to the final screen in free-for-all games.
- class bascenev1lib.activity.freeforallvictory.FreeForAllVictoryScoreScreenActivity(settings: dict)[source]¶
Bases:
MultiTeamScoreScreenActivity
Score screen shown at after free-for-all rounds.
bascenev1lib.activity.multiteamjoin module¶
Functionality related to the join screen for multi-team sessions.
- class bascenev1lib.activity.multiteamjoin.MultiTeamJoinActivity(settings: dict)[source]¶
Bases:
JoinActivity
Join screen for teams sessions.
- on_transition_in() None [source]¶
Called when the Activity is first becoming visible.
Upon this call, the Activity should fade in backgrounds, start playing music, etc. It does not yet have access to players or teams, however. They remain owned by the previous Activity up until bascenev1.Activity.on_begin() is called.
bascenev1lib.activity.multiteamscore module¶
Functionality related to teams mode score screen.
- class bascenev1lib.activity.multiteamscore.MultiTeamScoreScreenActivity(settings: dict)[source]¶
Bases:
ScoreScreenActivity
Base class for score screens.
- on_begin() None [source]¶
Called once the previous Activity has finished transitioning out.
At this point the activity’s initial players and teams are filled in and it should begin its actual game logic.
- show_player_scores(delay: float = 2.5, results: GameResults | None = None, scale: float = 1.0, x_offset: float = 0.0, y_offset: float = 0.0) None [source]¶
Show scores for individual players.
bascenev1lib.activity.multiteamvictory module¶
Functionality related to the final screen in multi-teams sessions.
- class bascenev1lib.activity.multiteamvictory.TeamSeriesVictoryScoreScreenActivity(settings: dict)[source]¶
Bases:
MultiTeamScoreScreenActivity
Final score screen for a team series.
- default_music = None¶
Module contents¶
Our lovely collection of activity related modules.