Class: Sprite_Timer

Inherits:
Text show all
Defined in:
docs/4_Systems_003_Map_Engine.rb

Overview

Display the main Timer on the screen

Instance Attribute Summary

Attributes inherited from LiteRGSS::Text

#__index__, #align, #bold, #draw_shadow, #fill_color, #height, #italic, #nchar_draw, #opacity, #outline_color, #outline_thickness, #real_width, #size, #text, #viewport, #visible, #width, #x, #y, #z

Instance Method Summary collapse

Methods inherited from Text

#simple_mouse_in?, #translate_mouse_coords

Methods inherited from LiteRGSS::Text

#load_color, #multiline_text=, new, #set_position, #text_width

Methods inherited from LiteRGSS::Disposable

#dispose, #disposed?

Constructor Details

#initialize(viewport = nil) ⇒ Sprite_Timer

Create the timer with its surface



432
433
# File 'docs/4_Systems_003_Map_Engine.rb', line 432

def initialize(viewport = nil)
end

Instance Method Details

#update

Update the timer according to the frame_rate and the number of frame elapsed.



435
436
# File 'docs/4_Systems_003_Map_Engine.rb', line 435

def update
end