Moved dice folder
This commit is contained in:
parent
1e0f767e73
commit
b8e5554058
@ -1,21 +1,21 @@
|
||||
import React, { useState, useEffect } from "react";
|
||||
import { Flex, IconButton } from "theme-ui";
|
||||
|
||||
import D20Icon from "../../../icons/D20Icon";
|
||||
import D12Icon from "../../../icons/D12Icon";
|
||||
import D10Icon from "../../../icons/D10Icon";
|
||||
import D8Icon from "../../../icons/D8Icon";
|
||||
import D6Icon from "../../../icons/D6Icon";
|
||||
import D4Icon from "../../../icons/D4Icon";
|
||||
import D100Icon from "../../../icons/D100Icon";
|
||||
import ExpandMoreDiceTrayIcon from "../../../icons/ExpandMoreDiceTrayIcon";
|
||||
import D20Icon from "../../icons/D20Icon";
|
||||
import D12Icon from "../../icons/D12Icon";
|
||||
import D10Icon from "../../icons/D10Icon";
|
||||
import D8Icon from "../../icons/D8Icon";
|
||||
import D6Icon from "../../icons/D6Icon";
|
||||
import D4Icon from "../../icons/D4Icon";
|
||||
import D100Icon from "../../icons/D100Icon";
|
||||
import ExpandMoreDiceTrayIcon from "../../icons/ExpandMoreDiceTrayIcon";
|
||||
|
||||
import DiceButton from "./DiceButton";
|
||||
import SelectDiceButton from "./SelectDiceButton";
|
||||
|
||||
import Divider from "../../Divider";
|
||||
import Divider from "../Divider";
|
||||
|
||||
import { dice } from "../../../dice";
|
||||
import { dice } from "../../dice";
|
||||
|
||||
function DiceButtons({
|
||||
diceRolls,
|
@ -4,7 +4,7 @@ import * as AMMO from "ammo.js";
|
||||
import "babylonjs-loaders";
|
||||
import ReactResizeDetector from "react-resize-detector";
|
||||
|
||||
import usePreventTouch from "../../../helpers/usePreventTouch";
|
||||
import usePreventTouch from "../../helpers/usePreventTouch";
|
||||
|
||||
const diceThrowSpeed = 2;
|
||||
|
@ -1,8 +1,8 @@
|
||||
import React, { useState } from "react";
|
||||
import { Flex, Text, Button, IconButton } from "theme-ui";
|
||||
|
||||
import ClearDiceIcon from "../../../icons/ClearDiceIcon";
|
||||
import RerollDiceIcon from "../../../icons/RerollDiceIcon";
|
||||
import ClearDiceIcon from "../../icons/ClearDiceIcon";
|
||||
import RerollDiceIcon from "../../icons/RerollDiceIcon";
|
||||
|
||||
const maxDiceRollsShown = 6;
|
||||
|
@ -8,16 +8,16 @@ import React, {
|
||||
import * as BABYLON from "babylonjs";
|
||||
import { Box } from "theme-ui";
|
||||
|
||||
import environment from "../../../dice/environment.dds";
|
||||
import environment from "../../dice/environment.dds";
|
||||
|
||||
import DiceInteraction from "./DiceInteraction";
|
||||
import DiceControls from "./DiceControls";
|
||||
import Dice from "../../../dice/Dice";
|
||||
import LoadingOverlay from "../../LoadingOverlay";
|
||||
import Dice from "../../dice/Dice";
|
||||
import LoadingOverlay from "../LoadingOverlay";
|
||||
|
||||
import DiceTray from "../../../dice/diceTray/DiceTray";
|
||||
import DiceTray from "../../dice/diceTray/DiceTray";
|
||||
|
||||
import DiceLoadingContext from "../../../contexts/DiceLoadingContext";
|
||||
import DiceLoadingContext from "../../contexts/DiceLoadingContext";
|
||||
|
||||
function DiceTrayOverlay({ isOpen }) {
|
||||
const sceneRef = useRef();
|
@ -1,8 +1,8 @@
|
||||
import React, { useState } from "react";
|
||||
import { IconButton } from "theme-ui";
|
||||
|
||||
import SelectDiceIcon from "../../../icons/SelectDiceIcon";
|
||||
import SelectDiceModal from "../../../modals/SelectDiceModal";
|
||||
import SelectDiceIcon from "../../icons/SelectDiceIcon";
|
||||
import SelectDiceModal from "../../modals/SelectDiceModal";
|
||||
|
||||
function SelectDiceButton({ onDiceChange, currentDice }) {
|
||||
const [isModalOpen, setIsModalOpen] = useState(false);
|
@ -2,7 +2,7 @@ import React, { useState } from "react";
|
||||
import { Flex, IconButton } from "theme-ui";
|
||||
|
||||
import ExpandMoreDiceIcon from "../../icons/ExpandMoreDiceIcon";
|
||||
import DiceTrayOverlay from "./dice/DiceTrayOverlay";
|
||||
import DiceTrayOverlay from "../dice/DiceTrayOverlay";
|
||||
|
||||
import { DiceLoadingProvider } from "../../contexts/DiceLoadingContext";
|
||||
|
||||
|
@ -2,7 +2,7 @@ import React, { useState } from "react";
|
||||
import { Flex, Label, Button } from "theme-ui";
|
||||
|
||||
import Modal from "../components/Modal";
|
||||
import DiceTiles from "../components/map/dice/DiceTiles";
|
||||
import DiceTiles from "../components/dice/DiceTiles";
|
||||
|
||||
import { dice } from "../dice";
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user