コード例 #1
0
 def run(self, ticks):
   """
   This next control structure is responsible
   to ensure that there is some text at the
   moment in the unit test of dialogues is called.
   If there are no texts she passes a standard text.
   Is next control structure uses existence
   of the value of the size of the texture to
   This is converted and used at the time
   in the screen need to be drawn.
   """
   if not self.text:
     self.text = "tmp"
     self.text = getText(self.engine, "Enter name:", "Wario")
   else:
     pass
コード例 #2
0
ファイル: DialogTest.py プロジェクト: ME7ROPOLIS/fofix
 def testGetTest(self):
     text = getText(self.e, "Please enter your name:", "Wario")
コード例 #3
0
ファイル: DialogTest.py プロジェクト: ME7ROPOLIS/fofix
 def run(self, ticks):
     if not self.text:
         self.text = "tmp"
         self.text = getText(self.engine, "Enter name:", "Wario")
コード例 #4
0
 def testGetTest(self):
     text = getText(self.e, "Please enter your name:", "Wario")
コード例 #5
0
 def run(self, ticks):
     if not self.text:
         self.text = "tmp"
         self.text = getText(self.engine, "Enter name:", "Wario")