Sha256: 64815b79a3650c811f183f0b5e3cc9c24d628e9f759baf1913f426772e5fe562
Contents?: true
Size: 330 Bytes
Versions: 1
Compression:
Stored size: 330 Bytes
Contents
class PirateGame::WavingItem attr_accessor :speed def initialize seed, delta_x, delta_y @seed = seed @delta_x = delta_x @delta_y = delta_y @speed = :normal end def waving_offset frame top_offset, left_offset = PirateGame::Boot.waving_offset frame, @seed, @delta_x, @delta_y, @speed end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
pirate_game-0.0.1 | lib/pirate_game/waving_item.rb |