diff --git a/UI.pde b/UI.pde index 8770ed9..babb36b 100644 --- a/UI.pde +++ b/UI.pde @@ -3,7 +3,9 @@ void UI() { textSize(30); textAlign(LEFT); - - text(ft.format(date).toString(), 10, 30); + text(String.format("%02d",hour()) + ":" + String.format("%02d",minute()) + ":" + String.format("%02d",second()), 10, 30); + + text("FPS: " + int(frameRate), 10, 60); + } diff --git a/Weather.pde b/Weather.pde new file mode 100644 index 0000000..07e03f7 --- /dev/null +++ b/Weather.pde @@ -0,0 +1 @@ +boolean b_isRaining;