You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What steps will reproduce the problem?
1. get source from
"http://code.google.com/p/ai-contest/source/browse/#svn/trunk/planet_wars/viz"
2. craete new java progect in eclipse
All sousces must be correct. But on line 29 of file RenderMap.java call
undefined constructor for Game.java
Revision r500. Eclipse Version: Helios Release
Build id: 20100617-1415. JavaSE 1.6
The constructor Game(String, int, int) is undefined.
Avialable is Game.Game(String s, int maxGameLength, int mode, String
logFilename)
Original issue reported on code.google.com by h6.msan...@gmail.com on 6 Nov 2010 at 7:34
The text was updated successfully, but these errors were encountered:
E:\svn\planet_wars\viz>javac *.java
RenderMap.java:29: cannot find symbol
symbol : constructor Game(java.lang.String,int,int)
location: class Game
Game game = new Game(args[0], 100, 0);
^
RenderMap.java:62:
Render(int,int,double,java.awt.image.BufferedImage,java.util.ArrayList<java.awt.
Color>,java.awt.Graphics2D) in Game cannot be applied to
(int,int,double,<nulltype>,java.util.ArrayList<java.awt.Color>,java.awt.Color,ja
va.awt.Color,java.awt.Font,java.awt.Font,java.awt.Graphics2D)
game.Render(640, 480, 0.0, null, colors, bgColor, textColor,
^
Note: CLViewer.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Viewer.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
2 errors
E:\svn\planet_wars\viz>
Original comment by h6.msan...@gmail.com on 6 Nov 2010 at 8:29
You are correct. Please use the version of RenderMap from this branch:
http://code.google.com/p/ai-contest/source/browse/branches/java-fixes/planet_war
s/viz/RenderMap.java
It will (read: might) get merged eventually.
Original comment by Euphora...@gmail.com on 7 Nov 2010 at 2:54
Original issue reported on code.google.com by
h6.msan...@gmail.com
on 6 Nov 2010 at 7:34The text was updated successfully, but these errors were encountered: