Class: UI::VoltorbFlip::MemoTile

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

Overview

Memo tiles in VoltorbFlip game

Instance Attribute Summary

Attributes inherited from LiteRGSS::ShaderedSprite

#blendmode, #shader

Attributes inherited from LiteRGSS::Sprite

#__index__, #angle, #bitmap, #height, #mirror, #opacity, #ox, #oy, #src_rect, #viewport, #visible, #width, #x, #y, #z, #zoom, #zoom_x, #zoom_y

Instance Method Summary collapse

Methods inherited from Sprite

#load, #mouse_in?, #set_origin_div, #set_rect, #set_rect_div, #set_z, #simple_mouse_in?, #translate_mouse_coords, #update

Methods inherited from LiteRGSS::Sprite

new, #set_origin, #set_position

Methods inherited from LiteRGSS::Disposable

#dispose, #disposed?

Constructor Details

#initialize(viewport, index) ⇒ MemoTile

Create a new MemoTile

Parameters:



172
173
# File 'docs/4_Systems_900_Games.rb', line 172

def initialize(viewport, index)
end

Instance Method Details

#disable

Disable the tile



182
183
# File 'docs/4_Systems_900_Games.rb', line 182

def disable
end

#enable

Enable the tile



179
180
# File 'docs/4_Systems_900_Games.rb', line 179

def enable
end

#enabled?Boolean

Tell if the tile is enabled

Returns:

  • (Boolean)


176
177
# File 'docs/4_Systems_900_Games.rb', line 176

def enabled?
end