/**
* draw text representing internal state for debug purposes.
*/
private void drawCellSymbols(Graphics2D g) {
Grid grid = env_.getGrid();
g.setColor( TEXT_COLOR );
g.setFont( BASE_FONT );
StringBuilder strBuf = new StringBuilder( "12" );
double maxY = getMaxY();
for ( int j = 0; j < grid.getYDimension(); j++ ) {
for (int i = 0; i < grid.getXDimension(); i++ ) {
int x = (int) (scale_ * i) + OFFSET;
int y = (int) (maxY - scale_ * (j + 1));
strBuf.setCharAt( 0, grid.getCell(i, j).getStatus().getSymbol() );
strBuf.setLength( 1 );
//int nump = grid.getCell(i, j).getNumParticles();
//if ( nump > 0 )
// strBuf.append( String.valueOf( nump ) );
g.drawString( strBuf.toString(), x + 6, y + 18 );