Class: Zif::Layers::ActiveBitmaskedTiledLayer

Inherits:
ActiveLayer show all
Includes:
Bitmaskable, Tileable
Defined in:
lib/zif/layers/active_bitmasked_tiled_layer.rb

Overview

Designed to be used with LayerGroup. Knits together a lot of functionality: Bitmaskable + Tileable built on top of a CompoundSprite via ActiveLayer

Constant Summary

Constants inherited from Sprite

Sprite::BLENDMODE

Instance Attribute Summary

Attributes included from Bitmaskable

#bitmask_data, #bitmasked_sprite_name_prefix, #presence_data

Attributes included from Layerable

#layer_name, #map, #should_render, #z_index

Attributes inherited from CompoundSprite

#labels, #sprites

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

#actions, #dirty

Method Summary

Methods included from Bitmaskable

#add_at, #exclude_from_serialize, #recalculate_bitmask, #redraw_at, #reinitialize_sprites, #remove_at, #set_sprites_from_bitmask

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

#absorb_click?, #clicked?

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

#assign

Constructor Details

This class inherits a constructor from Zif::Layers::ActiveLayer