menu
flutter_ludo package
documentation
service/ludo_team.dart
service/ludo_team.dart
dark_mode
light_mode
service/ludo_team
library
Classes
LudoTeam
Defines a team in teams mode.
Constants
kDefaultTeams
→ const
List
<
LudoTeam
>
The two fixed teams used in 2v2 teams mode.
Functions
areTeammates
(
int
a
,
int
b
,
List
<
LudoTeam
>
?
teams
)
→
bool
Returns true if
a
and
b
are teammates.
teamOf
(
int
playerIndex
,
List
<
LudoTeam
>
?
teams
)
→
LudoTeam
?
Returns the
LudoTeam
that
playerIndex
belongs to, from
teams
. Returns null if
teams
is null (i.e. not in teams mode).
flutter_ludo package
documentation
service/ludo_team.dart
flutter_ludo
package
Libraries
bot/ludo_bot_controller
bot/ludo_move_scorer
constant/board_constants
controller/ludo_controller
engine/ludo_engine
flutter_ludo
model/legal_move
model/ludo_dice_rules
model/ludo_game_state
model/ludo_piece
model/ludo_player
model/piece_state
rules/capture_rules
rules/move_validator
rules/piece_state_rules
rules/win_rules
service/audio_service
service/ludo_team
themes/ludo_theme
widgets/ludo_board
widgets/ludo_dice
widgets/ludo_game
widgets/step_animator
ludo_team library