projects
/
fleet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7cb7ef2
)
Add software interpreter implementation of Timer ship
author
Adam Megacz
<adam@megacz.com>
Mon, 27 Jul 2009 03:23:39 +0000
(20:23 -0700)
committer
Adam Megacz
<adam@megacz.com>
Mon, 27 Jul 2009 03:23:39 +0000
(20:23 -0700)
ships/Timer.ship
patch
|
blob
|
history
diff --git
a/ships/Timer.ship
b/ships/Timer.ship
index
5eff426
..
0943bca
100644
(file)
--- a/
ships/Timer.ship
+++ b/
ships/Timer.ship
@@
-29,7
+29,10
@@
data out: out
== Fleeterpreter ====================================================
- public void service() { }
+public void service() {
+ if (!box_out.readyForDataFromShip()) return;
+ box_out.addDataFromShip(System.currentTimeMillis());
+}
== FleetSim ==============================================================