Class: UI::VoltorbFlip::Texts

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

Overview

Object that show a text using a method of the data object sent

Constant Summary collapse

COIN_CASE_FORMAT =

Format of the coin case text

'%07d'
COIN_GAIN_FORMAT =

Format of the coin gain text

'%05d'

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_animation, #update_position, #visible, #visible=, #with_cache, #with_font, #with_surface, #z, #z=

Constructor Details

#initialize(viewport) ⇒ Texts

Create a new VoltorbFlip text handler

Parameters:



108
109
# File 'docs/4_Systems_900_Games.rb', line 108

def initialize(viewport)
end

Instance Method Details

#coin_case=(value)

Set the coin case content value

Parameters:

  • value (Integer)


116
117
# File 'docs/4_Systems_900_Games.rb', line 116

def coin_case=(value)
end

#coin_gain=(value)

Set the gain value

Parameters:

  • value (Integer)


120
121
# File 'docs/4_Systems_900_Games.rb', line 120

def coin_gain=(value)
end

#level=(value)

Set the level value

Parameters:

  • value (Integer)


124
125
# File 'docs/4_Systems_900_Games.rb', line 124

def level=(value)
end

#title=(value)

Set the title

Parameters:



112
113
# File 'docs/4_Systems_900_Games.rb', line 112

def title=(value)
end