if (movingDoor && (getModeProps()[4] >= 2)) { g2d.setPaint(Color.blue); g2d.draw(new Rectangle2D.Double( doorProps[0], doorProps[1], 8,8)); }
        public void paintComponent(Graphics g)        {            super.paintComponent(g);            Graphics2D g2d = (Graphics2D) g;            if (this.knowsmap)            {                drawMap(g, g2d);            }    		if (movingSprite    				&& (getModeProps()[3] == 1))    		{    			Image spImage =    				EbMap.getSpriteImage(spriteProps[2], spriteProps[3]);    			g.drawImage(    					spImage, spriteProps[0], spriteProps[1],						this);    			if (spriteBoxes)    			{    				g2d.setPaint(Color.red);    				g2d.draw(new Rectangle2D.Double(                			spriteProps[0] - 1,    						spriteProps[1] - 1,    						spImage.getWidth(this) + 1,    						spImage.getHeight(this) + 1));    			}    		}        }