Method: NWN::Tlk::TlkSet#initialize
- Defined in:
- lib/nwn/tlk.rb
#initialize(tlk, tlkf = nil, custom = nil, customf = nil) ⇒ TlkSet
151 152 153 154 155 156 |
# File 'lib/nwn/tlk.rb', line 151 def initialize tlk, tlkf = nil, custom = nil, customf = nil @dm = Tlk.new(tlk) @df = tlkf ? Tlk.new(tlkf) : @dm @cm = custom ? Tlk.new(custom) : nil @cf = customf ? Tlk.new(customf) : @cm end |