public Duck(HuntField field) {
        this.alive = true;
        this.type = 'D';
        this.field = field;
        synchronized (field) {
            this.position = new Position(random.nextInt(field.getXLength()), random.nextInt(field.getYLength()));
            while (field.isOccupied(position)) {
                this.position = new Position(random.nextInt(field.getXLength()), random.nextInt(field.getYLength()));
            }
            field.setItem(this, position);
        }
    }