scalation.scala3d
Members list
Type members
Classlikes
The Clock
class maintasins the time for the ScalaFx animation.
The Clock
class maintasins the time for the ScalaFx animation.
Attributes
- Supertypes
-
class Timelineclass Animationtrait SFXDelegate[Timeline]class Objecttrait Matchableclass AnyShow all
The Road3d
object implements a simple road animation.
The Road3d
object implements a simple road animation.
runMain scalation.scala3d.Road3d
Attributes
- Supertypes
-
trait JFXApp3class Objecttrait Matchableclass Any
- Self type
-
Road3d.type
The Sink
case class is used to remove/terminate vehicles in the animation.
The Sink
case class is used to remove/terminate vehicles in the animation.
Value parameters
- color
-
the color of the sink
- location
-
the location of the sink in the scene
- name
-
the name of the sink
- size
-
the size of the sink
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
The Source
case class is used to create vehicles in the animation.
The Source
case class is used to create vehicles in the animation.
Value parameters
- color
-
the color of the source
- location
-
the location of the source in the scene
- name
-
the name of the source
- size
-
the size of the source
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
The Vehicle
case class is used to for representing moveable objects.
The Vehicle
case class is used to for representing moveable objects.
Value parameters
- clock
-
the animation clock
- color
-
the color of the vehicle
- id
-
the vehicle's unique identifier
- location
-
the location of the vehicle in the scene
- size
-
the size of the vehicle
- speed
-
the speed of the vehicle
Attributes
- Companion
- object
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all