class BCDice::GameSystem::TwilightGunsmoke::TGTable
オプニング, エンディング, 情報収集チャート用のテーブル D66を振って決定する 1項目あたり出目3つに対応する
Constants
- RANGE
1項目あたり3個
Public Class Methods
new(name, items)
click to toggle source
@param name [String] @param items [Array<String>]
Calls superclass method
BCDice::DiceTable::D66RangeTable::new
# File lib/bcdice/game_system/TwilightGunsmoke.rb, line 104 def initialize(name, items) if items.size != RANGE.size raise UnexpectedTableSize.new(name, items.size) end items_with_range = RANGE.zip(items) super(name, items_with_range) end