class RuneRb::Tasks::PlayerResetTask
Attributes
player[R]
Public Class Methods
new(player)
click to toggle source
# File app/tasks/player_update.rb, line 25 def initialize(player) @player = player end
Public Instance Methods
execute()
click to toggle source
# File app/tasks/player_update.rb, line 29 def execute @player.flags.reset @player.teleporting = false @player.region_change = false @player.teleport_location = nil @player.cached_update = nil @player.animation = nil @player.graphic = nil end