Middleware

semagrams.sprites.Middleware

Mixins that can be used to modify Sprites, by updating the data passed in and by updating the function passed in that attaches handlers.

We pass a function that attaches handlers so that the underlying Sprite can decide where those handlers are attached.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class Clickable
class Hoverable

Members list

Concise view

Value members

Concrete methods

def modifySignal(ent: Entity, updates: Signal[ACSet]): Signal[ACSet]