Class: BCDice::GameSystem::StellarLife::StellarLifeD10_0to9_Table
- Inherits:
-
StellarLifeD10Table
- Object
- DiceTable::Table
- StellarLifeD10Table
- BCDice::GameSystem::StellarLife::StellarLifeD10_0to9_Table
- Defined in:
- lib/bcdice/game_system/StellarLife.rb
Overview
紙面上で 0 始まり 9 終わりの D10 テーブル( 0, 1, 2, …, 8, 9 )
Instance Method Summary collapse
-
#initialize(name, *items) ⇒ StellarLifeD10_0to9_Table
constructor
A new instance of StellarLifeD10_0to9_Table.
Methods inherited from StellarLifeD10Table
Methods inherited from DiceTable::Table
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 |