refactor: create data
This commit is contained in:
parent
acaa930fe1
commit
b137b91ced
|
@ -1,4 +1,4 @@
|
|||
import data from '../../../public/assets/dev/homestead.json';
|
||||
import data from './homestead.json';
|
||||
|
||||
function animal() {
|
||||
return {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import data from '../../../public/assets/dev/town.json';
|
||||
import data from './town.json';
|
||||
|
||||
export default async function createTown() {
|
||||
const area = {x: 60, y: 60};
|
||||
|
|
Loading…
Reference in New Issue
Block a user