@adatechnology/game-contracts 0.15.0 → 0.16.0
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/dist/index.d.ts +2 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -620,6 +620,8 @@ interface Fragment {
|
|
|
620
620
|
mass: number;
|
|
621
621
|
/** Holes the part had where this fragment came from, in the fragment's own axes: the renderer keeps them on the debris. */
|
|
622
622
|
marks?: readonly FragmentMark[];
|
|
623
|
+
/** Cut from inside the part (a page of a book, not its cover): the renderer draws it in the material's inner colour. */
|
|
624
|
+
inner?: boolean;
|
|
623
625
|
}
|
|
624
626
|
interface FragmentMark {
|
|
625
627
|
/** Relative to the fragment's centre, in the fragment's axes. */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adatechnology/game-contracts",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.16.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "The contracts every game module depends on, and nothing else: destruction (parts, hits, events, DestructibleImpl), weapons (shots), fluids (containers, item uses), item animations and the TestableModule a module hands the test room. Types plus tiny checkers, no runtime dependencies.",
|
|
6
6
|
"keywords": [
|