added initial joshplayer BattleCode robot
git-svn-id: svn://anubis/misc/BattleCode@222 bd8a9e45-a331-0410-811e-c64571078777
This commit is contained in:
parent
63d25d66e9
commit
1feff7cd23
24
joshplayer/RobotPlayer.java
Normal file
24
joshplayer/RobotPlayer.java
Normal file
@ -0,0 +1,24 @@
|
||||
|
||||
package joshplayer;
|
||||
|
||||
import battlecode.common.*;
|
||||
import static battlecode.common.GameConstants.*;
|
||||
|
||||
public class RobotPlayer implements Runnable
|
||||
{
|
||||
private final RobotController myRC;
|
||||
|
||||
public RobotPlayer(RobotController rc)
|
||||
{
|
||||
myRC = rc;
|
||||
}
|
||||
|
||||
public void run()
|
||||
{
|
||||
myRC.setIndicatorString(0, "" + GameConstants.ARCHON_PRODUCTION);
|
||||
|
||||
for (;;)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user