Class: Zif::Layers::BitmaskedTiledLayer

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

Overview

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

Instance Attribute Summary

Attributes included from Bitmaskable

#bitmask_data, #bitmasked_sprite_name_prefix, #presence_data

Attributes inherited from SimpleLayer

#clear_sprites_after_draw, #render_only_visible, #rerender_rect, #source_sprites

Attributes included from Layerable

#layer_name, #map, #should_render, #z_index

Attributes inherited from RenderTarget

#bg_color, #height, #labels, #name, #primitives, #sprites, #width, #z_index

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 SimpleLayer

#add_positioned_sprite, #initialize, #reinitialize_sprites, #remove_sprite, #rerender

Methods included from Layerable

#clicked?, #exclude_from_serialize, #intersecting_sprites, #position_sprite, #remove_positioned_sprite, #target_layer_name, #visible_sprites

Methods inherited from RenderTarget

#clicked?, #containing_sprite, #cut_containing_sprites, #exclude_from_serialize, #full_containing_sprite, #initialize, #project_from, #project_to, #redraw, #redraw_from_buffer, #relative_point, #resize, #set_inactive_buffer_name, #switch_buffer

Methods included from Serializable

#exclude_from_serialize, #inspect, #serialize, #to_s

Constructor Details

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