AbstractCompartment

scroll.internal.compartment.impl.AbstractCompartment
abstract class AbstractCompartment() extends CompartmentApi

Partly implements the API for Compartments. See the subclasses Compartment and MultiCompartment for examples of a full implementation.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Members list

Type members

Classlikes

abstract class IPlayer[+W <: AnyRef, +T <: IPlayer[W, T]](val wrapped: W)(implicit evidence$1: ClassTag[W]) extends SCROLLDispatchable, Dynamic

Wrapper class to add basic functionality to roles and its players as unified types.

Wrapper class to add basic functionality to roles and its players as unified types.

Type parameters

W

type of wrapped object

Value parameters

wrapped

the player or role that is wrapped into this dynamic type

Attributes

Supertypes
trait Dynamic
trait Dispatchable
class Object
trait Matchable
class Any
Show all
Known subtypes
class Player[W]
class MultiPlayer[W]
Self type
T

Value members

Abstract methods

def newPlayer[W <: AnyRef : ClassTag](obj: W): IPlayer[W, _]

Explicit helper factory method for creating a new Player instance without the need to relying on the implicit mechanics of Scala.

Explicit helper factory method for creating a new Player instance without the need to relying on the implicit mechanics of Scala.

Value parameters

obj

the player or role that is wrapped into this dynamic player type

Attributes

Returns

a new Player instance wrapping the given object

Concrete methods

protected def applyDispatchQuery(dispatchQuery: DispatchQuery, on: AnyRef): Seq[AnyRef]

Concrete fields

lazy override val playerEquality: PlayerEqualityApi

Attributes

lazy override val roleGraph: RoleGraphProxyApi

Attributes

lazy override val roleGroups: RoleGroupsApi

Attributes

lazy override val rolePlaying: RolePlayingApi

Attributes

lazy override val roleQueries: RoleQueriesApi

Attributes

lazy override val roleRelationships: RelationshipsApi

Attributes

Implicits

Implicits

implicit def either2TorException[T](either: Either[_, T]): T