State

semagrams.controllers.HoverController$.State
case class State(state: Option[Entity])

The state of the HoverController, which is contained in a Var in HoverController.

Attributes

state

this is Some(ent) if ent is hovered, None otherwise

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

def hover(ent: Entity): State

Update the state to reflect that ent is hovered

Update the state to reflect that ent is hovered

Attributes

def isHovered(ent: Entity): Boolean

Returns whether ent is hovered

Returns whether ent is hovered

Attributes

def leave(ent: Entity): State

Update the state to reflect that ent is no longer hovered

Update the state to reflect that ent is no longer hovered

Attributes

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product