- Revision
- 723
- Author
- sirenian
- Date
- 2007-05-05 07:22:57 -0500 (Sat, 05 May 2007)
Log Message
[EK] Added a 'SLOW' property which will slow down the Hellbound stories - good for demos
Modified Paths
Diff
Modified: trunk/examples/hellbound/src/stories/com/sirenian/hellbound/givens/ForcedHeartbeat.java (722 => 723)
--- trunk/examples/hellbound/src/stories/com/sirenian/hellbound/givens/ForcedHeartbeat.java 2007-05-02 17:42:04 UTC (rev 722) +++ trunk/examples/hellbound/src/stories/com/sirenian/hellbound/givens/ForcedHeartbeat.java 2007-05-05 12:22:57 UTC (rev 723) @@ -30,6 +30,15 @@ } public void causeBeat() { + if (System.getProperty("SLOW") != null) { + synchronized(this) { + try { + wait(700); + } catch (InterruptedException e) { + e.printStackTrace(); + } + } + } listeners.notifyListeners(pulse); skipped = false; }
To unsubscribe from this list please visit:
