Skip to content
Daan van Yperen edited this page Dec 13, 2016 · 15 revisions

Available since 2.1.0.

The Fluid Entity API provides a convenient way to assemble and interact with your entities, making code less verbose, improving readability.

  E(entityId)
      .tag("boss")
      .groups("enemy", "treasure")
      .pos(10,10)
      .animSprite("junkdog")
      .animLayer(1000)
      .invisible(true);

FAQ

Clone this wiki locally