public void move(GameContainer gameContainer/*,ScreenArray screenArray*/,Input input,int delta)
    {
        if(input.isKeyDown(Input.KEY_RIGHT))
        {
                xcoords += speed*delta;
                moveVector.x--;
        }else  if(input.isKeyDown(Input.KEY_LEFT))
        {
                xcoords -= speed*delta;
                moveVector.x++;
        }if(input.isKeyDown(Input.KEY_DOWN))
        {
            ycoords += speed*delta;
            moveVector.y--;
        }   else  if(input.isKeyDown(Input.KEY_UP))
        {
            ycoords -= speed*delta;
            moveVector.y++;
        }
        if(input.isKeyPressed(Input.KEY_ESCAPE)){
            status = false;
        }
        checkRestrictions(gameContainer);
    }