private boolean inside( int posX, int posY ){
        if(posX>=this.posX && posX<=this.posX+this.width){
            if(posY>=this.posY && posY<=this.posY+this.height){
                return true;
            }
        }
        return false;
    }