Class: UI::VoltorbFlip::Animation

Inherits:
SpriteStack show all
Defined in:
docs/4_Systems_900_Games.rb

Overview

Animations of the VoltorbFlip game

Constant Summary

Constants inherited from SpriteStack

SpriteStack::NO_INITIAL_IMAGE

Instance Attribute Summary

Attributes inherited from SpriteStack

#animated, #data, #moving, #stack, #viewport, #x, #y

Instance Method Summary collapse

Methods inherited from SpriteStack

#[], #add_background, #add_line, #add_text, #anime, #anime_delta_set, #dispose, #each, #execute_anime, #move, #move_to, #opacity, #opacity=, #push, #push_sprite, #set_origin, #set_position, #simple_mouse_in?, #size, #stop_animation, #translate_mouse_coords, #update, #update_position, #visible, #visible=, #with_cache, #with_font, #with_surface, #z, #z=

Constructor Details

#initialize(viewport) ⇒ Animation

Create a new animation

Parameters:



257
258
# File 'docs/4_Systems_900_Games.rb', line 257

def initialize(viewport)
end

Instance Method Details

#animate(tile)

Animate a tile

Parameters:



261
262
# File 'docs/4_Systems_900_Games.rb', line 261

def animate(tile)
end

#update_animationBoolean

Update the animation

Returns:

  • (Boolean)

    if the animation was updated



265
266
# File 'docs/4_Systems_900_Games.rb', line 265

def update_animation
end