Storm Sync

This commit is contained in:
2020-07-18 18:20:24 -05:00
parent 1d7cd19b41
commit ce90284001
10 changed files with 157 additions and 45 deletions

View File

@@ -7,7 +7,7 @@ class IMICFPS
@text = CyberarmEngine::Text.new(
"",
size: 16,
x: @margin, y: @margin, z: 45,
x: Widget.margin, y: Widget.margin, z: 45,
shadow: true,
shadow_size: 0.5,
shadow_alpha: 30,
@@ -24,7 +24,7 @@ class IMICFPS
end
def update
@text.x = window.width - (@text.width + @margin)
@text.x = window.width - (@text.width + Widget.margin)
end
def generate_random_data