Class: Zif::Layers::ActiveTiledLayer
- Inherits:
-
ActiveLayer
- Object
- Sprite
- CompoundSprite
- ActiveLayer
- Zif::Layers::ActiveTiledLayer
- Includes:
- Tileable
- Defined in:
- lib/zif/layers/active_tiled_layer.rb
Overview
Designed to be used with LayerGroup. A layer consisting of an initially empty 2D array of sprites Overrides to ActiveLayer which understand this 2D array Tileable, built on top of a CompoundSprite
Constant Summary
Constants inherited from Sprite
Instance Attribute Summary
Attributes included from Layerable
#layer_name, #map, #should_render, #z_index
Attributes inherited from CompoundSprite
Attributes inherited from Sprite
#a, #angle, #b, #g, #h, #logical_x, #logical_y, #name, #path, #r, #render_target, #source_h, #source_w, #source_x, #source_y, #w, #x, #y, #z_index
Attributes included from Clickable
#on_mouse_changed, #on_mouse_down, #on_mouse_up
Attributes included from Actions::Animatable
#animation_sequences, #cur_animation
Attributes included from Actions::Actionable
Method Summary
Methods included from Tileable
#add_positioned_sprite, #exclude_from_serialize, #intersecting_sprites, #reinitialize_sprites, #remove_positioned_sprite, #remove_tile, #tile, #tile_pos_to_sprite_index, #visible_sprites
Methods inherited from ActiveLayer
#add_positioned_sprite, #containing_sprite, #initialize, #reinitialize_sprites, #remove_sprite, #rerender, #source_sprites
Methods included from Layerable
#clicked?, #exclude_from_serialize, #intersecting_sprites, #position_sprite, #remove_positioned_sprite, #target_layer_name, #visible_sprites
Methods inherited from CompoundSprite
#draw_override, #initialize, #source_rect
Methods inherited from Sprite
#blend, #blend=, #center, #center_x, #center_y, #clicked?, #color, #color=, #dup_and_assign, #exclude_from_serialize, #hide, #initialize, #rect, rect_array_to_hash, rect_array_to_source_hash, #rect_hash, rect_hash_to_source_hash, #show, #source_as_rect_hash, #source_center, #source_is_set?, #source_rect, #source_rect_hash, #source_wh, #source_xy, #to_h, #view_actual_size!, #wh, #xy, #zoom_factor
Methods included from Clickable
Methods included from Actions::Animatable
#new_basic_animation, #new_tiled_animation, #register_animation_sequence, #run_animation_sequence, #stop_animating
Methods included from Actions::Actionable
#bounce_forever_around, #delayed_action, #fade_in, #fade_out, #fade_out_and_in_forever, #new_action, #perform_actions, #run_action, #running_actions?, #stop_action
Methods included from Serializable
#exclude_from_serialize, #inspect, #serialize, #to_s
Methods included from Assignable
Constructor Details
This class inherits a constructor from Zif::Layers::ActiveLayer