Method: Unified2::Event#initialize
- Defined in:
- lib/unified2/event.rb
#initialize(id, position) ⇒ Event
Initialize event
52 53 54 55 56 57 |
# File 'lib/unified2/event.rb', line 52 def initialize(id, position) @id = id.to_i @position = position @packets = [] @extras = [] end |