class Caldera::Events::TrackStuck

Attributes

player[R]
threshold[R]
track[R]

Public Class Methods

new(data, player) click to toggle source
# File lib/caldera/events.rb, line 40
def initialize(data, player)
  @player = player
  @threshold = data['thresholdMs']
  @track = Caldera::Model::Track.from_b64(data['track'])
end