This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<h2>1. ファイルとフォルダ</h2> | |
<ul> | |
<li><strong>ファイル:</strong> ファイルをデジタルの紙と想像してみてください。そこには物語、写真、お気に入りの曲、はたまた小さなプログラムなど、あらゆるものを保存できます。各ファイルにはそれぞれの名前と、「拡張子」と呼ばれる特別な終わりがあり、それによってファイルの種類が決まります。たとえば、<code>my_diary.txt</code>は、あなたの思い出を書くテキストファイルです。</li> | |
<li><strong>フォルダ:</strong> フォルダは、あなたのコンピュータ上でファイルを整理して保管できる魔法の箱のようなものです。宿題用のフォルダ、絵を描くためのフォルダ、音楽を保存するフォルダなど、さまざまなフォルダを持つことができます!</li> | |
</ul> | |
<h2>2. プログラムとコード</h2> | |
<ul> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// WARNING: Only types may be imported here. | |
import type { PluginLayer } from "client/src/layers/Plugins/createPluginLayer"; | |
/** | |
* Plugins must define a function named `createPlugin` that takes `PluginLayer` | |
* and returns an object with `mount` and `unmount` methods. | |
*/ | |
function createPlugin(pluginLayer: PluginLayer) { | |
const { | |
ui: { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import type { Entity } from "@latticexyz/recs"; | |
import type { PluginLayer } from "client/src/layers/Plugins/createPluginLayer"; | |
/** | |
* Plugins must define a function named `createPlugin` that takes `PluginLayer` and returns an object with `mount` and `unmount` methods. | |
*/ | |
function createPlugin(pluginLayer: PluginLayer) { | |
const { | |
api: { | |
getSelectedEntity, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const { | |
network: { | |
match, | |
}, | |
utils: { | |
isOwnedByCurrentPlayer, | |
manhattan, | |
}, | |
} = networkLayer; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Keybase proof | |
I hereby claim: | |
* I am kooshaba on github. | |
* I am kooshaba (https://keybase.io/kooshaba) on keybase. | |
* I have a public key whose fingerprint is 77AC 7AAB 2F24 162F 58C0 F7DF A40F DDA0 2B3D C427 | |
To claim this, I am signing this object: |