Class: AsciiParadise::SilentCity
- Defined in:
- lib/ascii_paradise/animations/silent_city.rb
Constant Summary
Constants inherited from Animation
Instance Method Summary collapse
-
#initialize(i = '') ⇒ SilentCity
constructor
# === initialize ========================================================================= #.
Methods inherited from Animation
#ascii_files?, #dataset?, #delay?, #display, #display_the_frame, #do_clear?, #do_use_colour_spray, #do_use_disco_inferno, #do_use_half_colours, #do_use_rainbow_colours, #guess_filename, is_animated?, #is_animated?, #load_animated_ascii_files_from_this_directory, #load_ascii_files, #load_ascii_files_and_determine_the_dataset, #load_dataset, #mediumpurple, #parse_dataset_from_this_control_file, #reset, #return_filename, #return_the_name_to_the_proper_animation_directory_of_this_animated_component, #run, run, #run_n_times?, #run_with_this_dataset, #run_with_this_dataset_while_waiting_for_keypress_events, #set_dataset, #set_delay, #set_run_n_times, #set_use_ascii_files_from_this_directory, #show_frame_at_this_position, #show_to_the_user_how_to_operate_the_keypress_interface, #sleep_with_the_default_delay, #use_disco_inferno?
Methods inherited from Base
animation_dir?, #animation_directory?, #clear_screen, #colour_parse_this_string, #debug?, #do_not_run_already, #do_not_use_clear, #do_use_random_colour, #do_wait_for_keypress_event, e, #e, #enable_debug, #is_animated?, #menu, #project_base_dir?, #register_sigint, #remove_trailing_ansci_escape_code, #report_how_many_animated_components_exist, #reset, #return_basename_of_this_file_without_the_extension, #return_random_colour, #rev, #royalblue, run, #set_use_this_colour, #sfancy, #sfile, #show_available_components, #show_help, #simp, #slategrey, #sort_files, #static_dir?, #steelblue, #swarn, #use_colours?
Constructor Details
#initialize(i = '') ⇒ SilentCity
#
initialize
#
18 19 20 21 22 23 24 25 |
# File 'lib/ascii_paradise/animations/silent_city.rb', line 18 def initialize(i = '') super() set_run_n_times(100) set_delay(0.190) load_animated_ascii_files_from_this_directory(__FILE__) (i) if i run if @run_already end |