ShapeList

org.nlogo.core.ShapeList
See theShapeList companion object
case class ShapeList(kind: AgentKind, shapeMap: Map[String, Shape])

Attributes

Companion
object
Source
ShapeList.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def exists(name: String): Boolean

Returns true when a shape with the given name is already available to the current model

Returns true when a shape with the given name is already available to the current model

Attributes

Source
ShapeList.scala
def get(name: String): Option[Shape]

Attributes

Source
ShapeList.scala

Attributes

Source
ShapeList.scala
def names: Set[String]

Returns a set of the names of all available shapes

Returns a set of the names of all available shapes

Attributes

Source
ShapeList.scala
def remove(shape: Shape): ShapeList

Attributes

Source
ShapeList.scala
def shape(name: String): Shape

Attributes

Source
ShapeList.scala
def shapes: Seq[Shape]

Returns vector of the list of shapes available to the current model

Returns vector of the list of shapes available to the current model

Attributes

Source
ShapeList.scala

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product