Added ai player and fixed so player kan create units
This commit is contained in:
parent
e7403858f8
commit
c83605d5c4
22 changed files with 373 additions and 123 deletions
|
|
@ -69,7 +69,7 @@ public class MultiPrintStream extends PrintStream {
|
|||
* prints whit a new line to all the PrintStreams
|
||||
*/
|
||||
public void println(String s){
|
||||
s = getTime() + s;
|
||||
if(!s.equals(""))s = getTime() + s;
|
||||
for(int i=0; i<streams.length ;i++)
|
||||
streams[i].println(s);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue