Class: BCDice::GameSystem::StellarLife::StellarLifeD10_0to9_Table

Inherits:
StellarLifeD10Table show all
Defined in:
lib/bcdice/game_system/StellarLife.rb

Overview

紙面上で 0 始まり 9 終わりの D10 テーブル( 0, 1, 2, …, 8, 9 )

Instance Method Summary collapse

Methods inherited from StellarLifeD10Table

#choice

Methods inherited from DiceTable::Table

#choice, from_i18n, #roll

Constructor Details

#initialize(name, *items) ⇒ StellarLifeD10_0to9_Table

Returns a new instance of StellarLifeD10_0to9_Table.



121
122
123
# File 'lib/bcdice/game_system/StellarLife.rb', line 121

def initialize(name, *items)
  super(name, items[1..9] + [items[0]]) # 出目 10 を 0 と読む(表示する)ため、 0 番目を末尾に回す.
end