Files
22e1372_efootballsquadsimul…/formation_positions.dart

101 lines
2.0 KiB
Dart
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
// フォーメーションごとの座標配置と役割キーposは最終役割を示唆するが、実際の役割は生成ロジックで上書きされます
final Map<String, List<List<Map<String, double>>>> formationLayouts = {
// 4-1-2-3 (例): 上からFW, 攻撃MF行, 守備MF行, DF行, GK行
'4-1-2-3': [
// FW (3)
[
{'x': 0.25, 'y': 0.08}, // LW
{'x': 0.5, 'y': 0.06}, // CF
{'x': 0.75, 'y': 0.08}, // RW
],
// 攻撃的MF2
[
{'x': 0.4, 'y': 0.25},
{'x': 0.6, 'y': 0.25},
],
// 守備的MF1
[
{'x': 0.5, 'y': 0.4},
],
// DF (4)
[
{'x': 0.15, 'y': 0.58},
{'x': 0.35, 'y': 0.55},
{'x': 0.65, 'y': 0.55},
{'x': 0.85, 'y': 0.58},
],
// GK
[
{'x': 0.5, 'y': 0.86},
],
],
// 4-3-3
'4-3-3': [
[
{'x': 0.2, 'y': 0.08},
{'x': 0.5, 'y': 0.06},
{'x': 0.8, 'y': 0.08},
],
[
{'x': 0.3, 'y': 0.26},
{'x': 0.5, 'y': 0.24},
{'x': 0.7, 'y': 0.26},
],
[
{'x': 0.2, 'y': 0.52},
{'x': 0.4, 'y': 0.5},
{'x': 0.6, 'y': 0.5},
{'x': 0.8, 'y': 0.52},
],
[
{'x': 0.5, 'y': 0.86},
],
],
// 4-4-2
'4-4-2': [
[
{'x': 0.35, 'y': 0.08},
{'x': 0.65, 'y': 0.08},
],
[
{'x': 0.2, 'y': 0.26},
{'x': 0.4, 'y': 0.26},
{'x': 0.6, 'y': 0.26},
{'x': 0.8, 'y': 0.26},
],
[
{'x': 0.15, 'y': 0.52},
{'x': 0.35, 'y': 0.5},
{'x': 0.65, 'y': 0.5},
{'x': 0.85, 'y': 0.52},
],
[
{'x': 0.5, 'y': 0.86},
],
],
// 5-3-2
'5-3-2': [
[
{'x': 0.4, 'y': 0.08},
{'x': 0.6, 'y': 0.08},
],
[
{'x': 0.3, 'y': 0.26},
{'x': 0.5, 'y': 0.24},
{'x': 0.7, 'y': 0.26},
],
[
{'x': 0.12, 'y': 0.52},
{'x': 0.32, 'y': 0.5},
{'x': 0.5, 'y': 0.48},
{'x': 0.68, 'y': 0.5},
{'x': 0.88, 'y': 0.52},
],
[
{'x': 0.5, 'y': 0.86},
],
],
};