[Editor] Fix "$$" issue in map initializer class
This commit is contained in:
@@ -81,7 +81,7 @@ class MapObjectsCodeGenerator : CodeGenerator {
|
||||
.addParameter(TypeName.INT, "x", Modifier.FINAL)
|
||||
.addParameter(TypeName.INT, "y", Modifier.FINAL)
|
||||
.addParameter(MAP_PIN_TYPE, "here", Modifier.FINAL)
|
||||
.addCode(it.code)
|
||||
.addCode(it.code.replace("\$", "\$\$"))
|
||||
.build()
|
||||
.let(generatedClass::addMethod)
|
||||
}
|
||||
|
||||
@@ -88,7 +88,7 @@ class ObjectPaintingTrace(
|
||||
* layer's index and x,y coordinates of the current tile
|
||||
* x: int - the x coordinate of the current tile
|
||||
* y: int - the y coordinate of the current tile
|
||||
* layer: ObjectLayer - current object layer's index
|
||||
* layer: ObjectLayer - current object layer
|
||||
* map: GameMap - current map
|
||||
* handler: ${className(map.handler)} - current map handler
|
||||
* runner: ${className(projectContext.project?.runner)} - the game runner of the project
|
||||
|
||||
Reference in New Issue
Block a user