update imports, update game name
This commit is contained in:
parent
968e054158
commit
f5584a9b0c
7 changed files with 4 additions and 4 deletions
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
"name": "roblox-ts-game",
|
"name": "goopler",
|
||||||
"globIgnorePaths": [
|
"globIgnorePaths": [
|
||||||
"**/package.json",
|
"**/package.json",
|
||||||
"**/tsconfig.json"
|
"**/tsconfig.json"
|
||||||
|
|
|
@ -4,7 +4,7 @@ import { WorldContext } from "./ui/contexts/worldContext"
|
||||||
import Roact from "@rbxts/roact"
|
import Roact from "@rbxts/roact"
|
||||||
import Main from "./ui/main"
|
import Main from "./ui/main"
|
||||||
import { ReflexProvider } from "@rbxts/roact-reflex"
|
import { ReflexProvider } from "@rbxts/roact-reflex"
|
||||||
import { producer } from "ReplicatedStorage/uiStore/producer"
|
import { producer } from "ReplicatedStorage/ui/store/producer"
|
||||||
|
|
||||||
const showGUI = (world: World, state: clientState): void => {
|
const showGUI = (world: World, state: clientState): void => {
|
||||||
const playerGui = state.player.WaitForChild("PlayerGui") as PlayerGui
|
const playerGui = state.player.WaitForChild("PlayerGui") as PlayerGui
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
import Roact from "@rbxts/roact"
|
import Roact from "@rbxts/roact"
|
||||||
import Slot from "./slot"
|
import Slot from "./slot"
|
||||||
import { useWorldContext } from "../contexts/worldContext"
|
import { useWorldContext } from "../contexts/worldContext"
|
||||||
import Padding from "ReplicatedStorage/uiComponents/padding"
|
import Padding from "ReplicatedStorage/ui/components/padding"
|
||||||
import { StarterGui } from "@rbxts/services"
|
import { StarterGui } from "@rbxts/services"
|
||||||
|
|
||||||
interface hotbarProps extends Roact.JsxInstanceProperties<Frame> {
|
interface hotbarProps extends Roact.JsxInstanceProperties<Frame> {
|
||||||
|
|
|
@ -2,7 +2,7 @@ import Roact from "@rbxts/roact"
|
||||||
import { useEffect } from "@rbxts/roact-hooked"
|
import { useEffect } from "@rbxts/roact-hooked"
|
||||||
import { useWorldContext } from "../contexts/worldContext"
|
import { useWorldContext } from "../contexts/worldContext"
|
||||||
import { ContextActionService, HttpService } from "@rbxts/services"
|
import { ContextActionService, HttpService } from "@rbxts/services"
|
||||||
import Padding from "ReplicatedStorage/uiComponents/padding"
|
import Padding from "ReplicatedStorage/ui/components/padding"
|
||||||
|
|
||||||
interface slotProps extends Roact.JsxInstanceProperties<Frame> {
|
interface slotProps extends Roact.JsxInstanceProperties<Frame> {
|
||||||
index: number
|
index: number
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue