@directivegames/genesys.sdk 3.3.5 → 3.3.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/templates/AGENTS.md +10 -0
package/package.json
CHANGED
package/src/templates/AGENTS.md
CHANGED
|
@@ -56,6 +56,16 @@
|
|
|
56
56
|
- **Do not** create documentation or test/example code unless specifically asked to.
|
|
57
57
|
- Be **very brief** on the summary when the implementation is completed.
|
|
58
58
|
|
|
59
|
+
## Engine Source Reference
|
|
60
|
+
- The engine source code is available in the **`.engine`** folder at the project root.
|
|
61
|
+
- Use the engine source as the **primary reference** when implementing game code to understand:
|
|
62
|
+
- Class hierarchies and inheritance patterns
|
|
63
|
+
- Available methods, properties, and their signatures
|
|
64
|
+
- Engine conventions and coding patterns
|
|
65
|
+
- How built-in features are implemented
|
|
66
|
+
- When extending engine classes or implementing similar functionality, **study the existing engine code** to ensure consistency and proper integration.
|
|
67
|
+
- The `.engine` folder mirrors the structure of the engine package — search here first when you need to understand how a particular system works.
|
|
68
|
+
|
|
59
69
|
## UI
|
|
60
70
|
- Any HTML UI you create **MUST NOT** be added to the document root directly. Add them to the game UI container, which can be accessed through `world.gameContainer`.
|
|
61
71
|
|