class Caldera::Events::PlayerUpdateEvent

Attributes

player[R]
position[R]
time[R]

Public Class Methods

new(data, player) click to toggle source
# File lib/caldera/events.rb, line 93
def initialize(data, player)
  @player = player
  @time = Time.at(data['time'])
  @position = data['position']
end