All Downloads are FREE. Search and download functionalities are using the official Maven repository.

indigo.scenes.SceneEvent.scala Maven / Gradle / Ivy

The newest version!
package indigo.scenes

import indigo.shared.events.GlobalEvent
import indigo.shared.time.Seconds

/** The events used by the scene manager to move between scenes.
  */
enum SceneEvent extends GlobalEvent derives CanEqual:
  case Next
  case Previous
  case LoopNext
  case LoopPrevious
  case JumpTo(name: SceneName)
  case SceneChange(from: SceneName, to: SceneName, at: Seconds)
  case First
  case Last




© 2015 - 2024 Weber Informatics LLC | Privacy Policy