An Actor lives inside a Spot

a created Actor belongs to the Entry Spot, and a call by actor id reaches that Spot

An Actor lives inside a Spot a created Actor belongs to the Entry Spot, and a call by actor id reaches that Spot calling node · knows only the actor id · Architecture component calling node knows only the actor id Framework · finds the Spot it is in now · Architecture component Framework finds the Spot it is in now player-7 · Actor · node A › lobby — Entry Spot player-7 Actor room-42 · User Spot · Architecture component room-42 User Spot sends to player-7 runs inside this Spot moves when it enters a room node A lobby — Entry Spot

Why a handler receives both the Spot and the Actor

  • • An Actor always belongs to some Spot. The place it lands right after creation is the Entry Spot, and entering a room moves it to that User Spot.
  • • So a message sent to an actor id runs inside the Spot that Actor belongs to now, and the handler receives both the Spot and the Actor.