module

Wireland::App

Class methods

camera
Source
camera=(camera : R::Camera2D)
Source
circuit

The circuit object that contains all the stuff for running the simulation.

Source
circuit_texture

The texture file of the circuit.

Source
draw_box(width : Int32, height : Int32, title : String = "", text : String = "")
Source
draw_circuit

Draw the circuit texture

Source
draw_components

Draw the component textures, such as if the component is conductive, or if the component is pulsed, pulsing, was pulsing, will pulse, etc.

Source
draw_debug_hud
Source
is_circuit_loaded?

Checks to see if the circuit texture is loaded.

Source
last_active_pulses
Source
last_pulses
Source
load_circuit(file)
Source
load_palette(palette_file)
Source
palette

The palette used by Wireland.

Source
play=(play)
Source
play?
Source
play_speed
Source
play_speed=(play_speed)
Source
play_speeds
Source
play_speeds=(play_speeds)
Source
play_time
Source
play_time=(play_time)
Source
reset

Resets the simulation

Source
show_pulses=(show_pulses)
Source
show_pulses?
Source
solid_pulses=(solid_pulses)
Source
solid_pulses?
Source
tick

Move the circuit forward a tick

Source

Nested types