Batch is a really thin wrapper over js.Array
to replace List
on the Indigo APIs. Its purpose is to provide fast
scene construction and fast conversion back to js.Array for the engine to use. Most operations that require any sort
of traversal are performed by flattening the structure and delegated to js.Array
. In practice, scene construction
is mostly about building the structure, so the penalty is acceptable, and still faster than using List
.
- Companion:
- object
class Object
trait Matchable
class Any
Value members
Abstract methods
Concrete methods
@SuppressWarnings(scala.Array.apply[java.lang.String]("scalafix:DisableSyntax.var")(scala.reflect.ClassTag.apply[java.lang.String](classOf[java.lang.String])))
Delegates to mkString(separator: String): String
Delegates to mkString(separator: String): String
- Returns:
String
Converts the batch into a String
Converts the batch into a String
- Value parameters:
- separator
A string to add between the elements
- Returns:
String