ols 7 SevenSegment

This commit is contained in:
kejaro committed 2026-10-05 00:34:52 +01:00
1 parent badede4b8f
commit f7bcbc53ef
131 files changed
+5624 -6412

No files matched your search

+7 -8
View File
@@ -22,10 +22,10 @@ public class Card {
team = tm;
card = cd;
start = st;
player = pl;
duration = dn * 60;
remaining = duration;
end = start + duration;
player = pl;
isActive = true;
_datetime = Time.now().value();
@@ -39,13 +39,12 @@ public class Card {
public function dummy(q as Boolean) as Void{}
public function update(el as Number) as Void{
remaining = end - el;
if(end - el == 0){
// WatchUi.pushView(new menuConfirmationDelegate(Lang.format("Card: $1$ Over",[player.format("%02d")]), false), new ConfirmationDelegate(method(:dummy)), WatchUi.SLIDE_LEFT);
System.println(Lang.format("Card: $1$ Over",[player.format("%02d")]));
isActive = false;
public function update() as Void{
remaining = end - $.gMatch.elapsed;
if(remaining == 0){
//WatchUi.pushView(new menuConfirmationDelegate(Lang.format("Card: $1$ Over",[player.format("%02d")]), false), new ConfirmationDelegate(method(:dummy)), WatchUi.SLIDE_LEFT);
System.println(Lang.format("Card: $1$ Over",[player.format("%02d")]));
isActive = false;
}
}