EntityCollection

semagrams.EntityCollection
See theEntityCollection companion object
case class EntityCollection(em: EntityMap, ordering: Seq[Entity])

A collection of entities and sprites

Attributes

em

an EntityMap mapping entities to Sprites and ACSets

ordering

the order in which the sprites should be placed in the window. This matters for figuring out which sprite should be on top in the case of overlaps.

Companion:
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

def addSource[A](a: A, source: EntitySource[A]): EntityCollection

Construct a new EntityCollection by adding the entities coming from source

Construct a new EntityCollection by adding the entities coming from source

Attributes

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product