TENKA_CONTINENTS定数
リファレンスの説明と例は英語です。見出しと目次は日本語です。
The world's six continents, each with the territories in it.
インポート
import { TENKA_CONTINENTS } from "@johnmorrisdotca/tenka";
定義
const TENKA_CONTINENTS: readonly TenkaContinent[] = WORLD.continents
例
import { TENKA_CONTINENTS } from "@johnmorrisdotca/tenka";
console.log(TENKA_CONTINENTS);[
{
key: 'northAmerica',
name: 'North America',
kanji: '北米',
bonus: 5,
territories: [
0, 1, 2, 3, 4,
5, 6, 7, 8
]
},
{
key: 'southAmerica',
name: 'South America',
kanji: '南米',
bonus: 2,
territories: [ 9, 10, 11, 12 ]
},
{
key: 'europe',
name: 'Europe',
kanji: '欧州',
bonus: 5,
territories: [
13, 14, 15, 16,
17, 18, 19
]
},
{
key: 'africa',
name: 'Africa',
kanji: '阿州',
bonus: 3,
territories: [ 20, 21, 22, 23, 24, 25 ]
},
{
key: 'asia',
name: 'Asia',
kanji: '亜州',
bonus: 7,
territories: [
26, 27, 28, 29, 30,
31, 32, 33, 34, 35,
36, 37
]
},
{
key: 'australia',
name: 'Australia',
kanji: '豪州',
bonus: 2,
territories: [ 38, 39, 40, 41 ]
}
]出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。