public Star(Vector2f pos, int size, float brightness) {
        this.pos = pos;
        this.size = size;
        this.brightness = brightness;
        this.rect = new Rectangle(pos.getIntX(), pos.getIntY(), size, size);
    }