self.text = text
def next(self):
- #self.mk.update_display()
- self.v.display(" %8.8s " % ("BOG"))
+ #self.mk.update_display(forced=True)
+ self.mk.update_display()
def reset(self):
- self.mk.set_message(self.text, True, None)
+ msg = [(self.text, True, 0.8)]
+ self.mk.set_messages(msg)
import sys, os, string, re, pwd, signal
from HorizScroll import HorizScroll
from random import random, seed
+from time import time, sleep
class MessageKeeper:
def __init__(self, vendie):
def setup_idlers(v):
global idlers, idler
idlers = [
- TrainIdler(v),
+ StringIdler(v),
+ StringIdler(v, text=CREDITS),
GrayIdler(v),
+ TrainIdler(v),
GrayIdler(v,one="*",zero="-"),
GrayIdler(v,one="/",zero="\\"),
GrayIdler(v,one="X",zero="O"),
GrayIdler(v,one="/",zero="\\",reorder=1),
GrayIdler(v,one="X",zero="O",reorder=1),
]
- #StringIdler(v),
- #StringIdler(v, text=CREDITS),
idler = choose_idler()
def choose_idler():