1 | getWorld().showText( "GG" , 24 , Color.BLACK, 200 , 200 ); |


1 | getWorld().showText( "GG" , 24 , Color.BLACK, 200 , 200 ); |
1 2 | GreenfootImage gg = new GreenfootImage( "GG" , 240 , Color.BLACK, new Color( 0 , 0 , 0 , 0 )); getWorld().getBackground().drawImage(gg, (getWorld().getWidth()-gg.getWidth())/ 2 , (getWorld().getHeight()-gg.getHeight())/ 2 ); |