initial commit
This commit is contained in:
+22
@@ -0,0 +1,22 @@
|
||||
import { useState } from 'react';
|
||||
import GameMap from './components/GameMap';
|
||||
import Sidebar from './components/Sidebar';
|
||||
import Topbar from './components/Topbar';
|
||||
import { GameStore } from './game/GameStore';
|
||||
import './App.css';
|
||||
|
||||
function App() {
|
||||
const [store] = useState(() => new GameStore());
|
||||
|
||||
return (
|
||||
<div className="app">
|
||||
<Topbar store={store} />
|
||||
<div className="main-row">
|
||||
<Sidebar store={store} />
|
||||
<GameMap store={store} />
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
export default App;
|
||||
Reference in New Issue
Block a user