Entity and sprite plan

This commit is contained in:
2020-04-21 15:55:56 +02:00
parent 7e679e3cc3
commit 7165f9ee89
4 changed files with 22 additions and 20 deletions

View File

@@ -6,7 +6,7 @@ export class PropertyNode extends SwapNode {
super(node, swapNode);
if (!(propertyReader instanceof PropertyReader))
throw TypeError("propertyReader must be an instance of PropertyReader");
throw TypeError("propertyReader must be an instance of `PropertyReader`");
this.propertyReader = propertyReader;

View File

@@ -5,7 +5,7 @@ export class SwapNode extends BaseNode {
super(node);
if (!(swapNode instanceof Node))
throw TypeError("swapNode must be instance of Node");
throw TypeError("swapNode must be instance of `Node`");
this.swapNode = swapNode;