Skip to content

Commit 79eb428

Browse files
committed
#37 update README.md
1 parent 154bbe1 commit 79eb428

File tree

1 file changed

+12
-14
lines changed

1 file changed

+12
-14
lines changed

template/src/model/README.md

Lines changed: 12 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
# Model
22

3-
アプリケーションのドメインを隔離するためのディレクトリです。
4-
テンプレートのディレクトリ構成は一例であり、アプリケーションの機能性、保守性など、特性に合わせてモデリングを行ってください。
3+
アプリケーションのドメインを隔離するためのディレクトリです。このディレクトリ構成は一例であり、アプリケーションの機能性、保守性など、特性に合わせてモデリングを行ってください。
54

6-
This directory is used to isolate the domain of the application.
7-
The directory structure of the template is an example and should be modeled according to the characteristics of the application, such as functionality and maintainability.
5+
This directory is used to isolate the domain of the application. The directory structure provided is just one example; please model it according to the specific characteristics of your application, such as its functionality and maintainability.
86

97
## Example of directory structure
108

@@ -29,11 +27,11 @@ project
2927
└── home
3028
```
3129

32-
このテンプレートの各ディレクトリの役割
33-
(テンプレートのディレクトリ構成は一例であり、アプリケーションの機能性、保守性など、特性に合わせてモデリングを行ってください。)
30+
各ディレクトリの役割を記載していきます。
31+
(このディレクトリ構成は一例であり、アプリケーションの機能性、保守性など、特性に合わせてモデリングを行ってください。)
3432

35-
The role of each directory in this template
36-
(The directory structure of the template is an example and should be modeled according to the characteristics of the application, such as functionality, maintainability, etc.)
33+
We will describe the role of each directory.
34+
(This directory structure is just an example; please model it according to the specific characteristics of your application, such as its functionality and maintainability.)
3735

3836
### Application
3937

@@ -42,15 +40,13 @@ application
4240
└── content
4341
```
4442

45-
`content`ディレクトリにはAnimation Toolで作成されたアニメーションを動的に生成するためのクラスが格納されてます。
46-
`service`ディレクトリを作成して、`domain`へのアクセスを行う責務を担う事も良いかもしれません。
43+
`content` ディレクトリにはAnimation Toolで作成された `DisplayObject` を動的に生成するためのクラスが格納されてます。動的に生成された `DisplayObject` は起動時に `initialize` 関数が実行されます。 `service``usecase` ディレクトリを作成して、`domain` へのアクセスを行う責務を担う事も良いかもしれません。
4744

48-
The `content` directory contains classes for dynamically generating animations created by the Animation Tool.
49-
It may be a good idea to create a `service` directory to be responsible for accessing the `domain`.
45+
The `content` directory contains classes for dynamically generating `DisplayObject`s created by the Animation Tool. Dynamically generated `DisplayObject`s execute their `initialize` function upon startup. It might also be a good idea to create `service` and `usecase` directories to handle the responsibility of accessing the `domain`.
5046

5147
#### Example of cooperation with Animation Tool
5248

53-
`namespace`にAnimation Toolのシンボルに設定した名前を追記する事で動的生成が可能になります。
49+
`namespace` にAnimation Toolのシンボルに設定した名前を追記する事で動的生成が可能になります。
5450
Dynamic generation is enabled by appending the name set for the Animation Tool symbol in the `namespace` field.
5551

5652
```javascript
@@ -68,7 +64,9 @@ export class TopContent extends MovieClipContent
6864
*/
6965
get namespace ()
7066
{
71-
return "TopContent"; // Animation Toolのsymbolで設定した名前を追記
67+
// Animation Toolのsymbolで設定した名前を追記
68+
// Append the name assigned to the Animation Tool symbol.
69+
return "TopContent";
7270
}
7371
}
7472
```

0 commit comments

Comments
 (0)