seperated client and server state, input mapper
This commit is contained in:
parent
44f63f8deb
commit
d5b77a9044
10 changed files with 104 additions and 16 deletions
|
@ -1,8 +1,11 @@
|
|||
import { start } from "ReplicatedStorage/ecs"
|
||||
import { clientState } from "ReplicatedStorage/ecs/state"
|
||||
import { Host } from "ReplicatedStorage/hosts"
|
||||
import { setEnvironment } from "ReplicatedStorage/idAttribute"
|
||||
|
||||
const HOST = Host.Client
|
||||
|
||||
const ClientState = new clientState()
|
||||
|
||||
setEnvironment(HOST)
|
||||
start(HOST)
|
||||
start(HOST, ClientState)
|
Loading…
Add table
Add a link
Reference in a new issue