static Bag createBag(BagType type) {
        switch (type) {
            case SANDBAG: return new Sandbag();
            case GRAVEL_BAG: return new GravelBag();
            case CEMENT_BAG: return new CementBag();
            case WOODEN_DIVIDER: return new WoodenDivider();
            case IRON_DIVIDER: return new IronDivider();
            case CONCRETE_DIVIDER: return new ConcreteDivider();
        }

        assert false;
        return null;
    }