public boolean collide(GameSphere gs){
        int newX = (int)(gs.getPosition()[0] + gs.getVelocity()[0]);
        int newY = (int)(gs.getPosition()[1] + gs.getVelocity()[1]);
        if(newX < 0 || newX > screen.width || newY < 0 || newY > screen.height) return false;
        if(levelLayout[newX + newY * screen.width] == 0xFFC3C3C3) return true;
        return false;
    }