public void SetAll(GameEngine gm, String name, int intX, int intY, int depth, BufferedImage[] sprites, int currentSprite,
						float scale)
	{
		//Setting the variables
		game = gm;
		stringName = name;
		intPosX = intX;
		intPosY = intY;
		arrayImageSprites = sprites;
		intCurrentSprite = currentSprite;
		floatScale = scale;
		intDepth = depth;
		intObjectID = Math.abs(game.objRandom.nextInt());
		
		//Checking & changing the object ID
		CheckAndCorrectID();
		
		//Setting the variables of the rectangle
		rectangleHitbox.setLocation(intPosX, intPosY);
		rectangleHitbox.setSize(arrayImageSprites[intCurrentSprite].getWidth(null),
								arrayImageSprites[intCurrentSprite].getHeight(null));
	}