|
|
|
@ -253,19 +253,8 @@ public class Player extends Actor
|
|
|
|
private void redrawArrow(GreenfootImage statistics,GreenfootImage flag, int textSize)
|
|
|
|
private void redrawArrow(GreenfootImage statistics,GreenfootImage flag, int textSize)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
// redraw(statistics,flag,textSize);
|
|
|
|
// redraw(statistics,flag,textSize);
|
|
|
|
GreenfootImage Arrow = new GreenfootImage(137,120);
|
|
|
|
|
|
|
|
if(id == 0 || id == 1|| id == 2)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
Arrow.setColor(Color.GRAY);
|
|
|
|
|
|
|
|
Arrow.fill();
|
|
|
|
|
|
|
|
Arrow.drawImage(statistics,0,0);
|
|
|
|
|
|
|
|
redraw(Arrow,flag,textSize);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
else
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
redraw(statistics,flag,textSize);
|
|
|
|
redraw(statistics,flag,textSize);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private void redraw(GreenfootImage statistics,GreenfootImage flag, int textSize)
|
|
|
|
private void redraw(GreenfootImage statistics,GreenfootImage flag, int textSize)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
|