RolePlayingApi
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class RolePlaying
Members list
Value members
Abstract methods
Adds a play relation between core and role.
Adds a play relation between core and role.
Type parameters
- C
-
type of core
- R
-
type of role
Value parameters
- core
-
the core to add the given role at
- role
-
the role that should added to the given core
Attributes
Returns a Seq of all players
Returns a Seq of all players
Attributes
- Returns
-
a Seq of all players
Removes the given player from the graph. This should remove its binding too!
Removes the given player from the graph. This should remove its binding too!
Value parameters
- player
-
the player to remove
Attributes
Removes the play relation between core and role.
Removes the play relation between core and role.
Value parameters
- core
-
the core the given role should removed from
- role
-
the role that should removed from the given core
Attributes
Transfers a role from one core to another.
Transfers a role from one core to another.
Type parameters
- F
-
type of core the given role should be removed from
- R
-
type of role
- T
-
type of core the given role should be attached to
Value parameters
- coreFrom
-
the core the given role should be removed from
- coreTo
-
the core the given role should be attached to
- role
-
the role that should be transferred