move FSM._ import into class, fixes #831
This commit is contained in:
parent
dadc572d61
commit
ece765775b
1 changed files with 2 additions and 1 deletions
|
|
@ -49,13 +49,14 @@ Now lets create an object representing the FSM and defining the behavior.
|
|||
|
||||
import akka.actor.{Actor, FSM}
|
||||
import akka.event.EventHandler
|
||||
import FSM._
|
||||
import akka.util.duration._
|
||||
|
||||
case object Move
|
||||
|
||||
class ABC extends Actor with FSM[ExampleState, Unit] {
|
||||
|
||||
import FSM._
|
||||
|
||||
startWith(A, Unit)
|
||||
|
||||
when(A) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue