code: public void drawTank(Graphics g, float xpos, float ypos, float rot) {
  		// work out the centre of the tank in rendering coordinates and then
  		// spit onto the screen
  		int cx = (int) (xpos * 32);
  		int cy = (int) (ypos * 32);
  		g.rotate(cx,cy,rot);
  		player.draw(cx-16,cy-16);
  		g.rotate(cx,cy,-rot);
  	}
docs: Draw a single tank to the game
  
  @param g The graphics context on which we're drawing
  @param xpos The x coordinate in tiles the tank is at
  @param ypos The y coordinate in tiles the tank is at
  @param rot The rotation of the tank