 |
Synthia
Generic and flexible data structure generator
|
Go to the documentation of this file.
19 package ca.uqac.lif.synthia.util;
68 public static void wait(
float duration)
72 Thread.sleep((
long) (duration * 1000));
74 catch (InterruptedException e)
Picker<? extends Number > m_delay
The picker deciding on the time to wait, in seconds.
Object pick()
Picks an object.
Delay(Picker<? extends Number > delay)
Creates a new delay picker.
static void wait(float duration)
Waits for some time.
Picker that does not produce any value, but causes the thread to wait for a moment on every call to p...
Delay duplicate(boolean with_state)
Creates a copy of the picker.
void reset()
Puts the picker back into its initial state.
Picker< T > duplicate(boolean with_state)
Creates a copy of the picker.
void reset()
Puts the picker back into its initial state.