class Rubygoal::FastPlayer
Public Class Methods
new(*args)
click to toggle source
Calls superclass method
Rubygoal::Player::new
# File lib/rubygoal/players/fast.rb, line 5 def initialize(*args) super config = Rubygoal.configuration error_range = config.fast_lower_error..config.fast_upper_error @error = Random.rand(error_range) @speed = config.fast_speed @type = :fast end