public void renderBasicObjects()
	{
		for (BasicObject bo : basic)
		{
			int[] image = bo.getPixles();

			for (int y = 0; y < bo.getHeight(); y++)
			{
				for (int x = 0; x < bo.getWidth(); x++)
				{
					if(x < 0 || x > width || y < 0 || y >= height )break;
					if (image[x + y * bo.getWidth()] != ScreenManager.getInstance().getOmmitColor())
						pixels[width * (y + bo.getY()) + (x + bo.getX())] = image[x + y * bo.getWidth()];
				}
			}
		}
	}