mutable
This subpackage defines a few additional traits that extend the ones in of o1.world.objects. These traits provide additional convenience methods for working with mutable objects in two-dimensional space.
NOTE TO STUDENTS: In this course, you don’t need to understand how this package works or can be used. That being said, some students may wish to experiment with some of its contents. Several of the traits in this package have aliases in the top-level package o1, so they are accessible to students simply via import o1.*
.
Attributes
- Graph
-
- Supertypes
- Self type
-
mutable.type
Members list
Type members
Classlikes
A supertype for objects that take up a rectangular area and have a mutable position that may be constrained by a larger object around them.
A supertype for objects that take up a rectangular area and have a mutable position that may be constrained by a larger object around them.
Attributes
- Supertypes
-
trait HasContainertrait HasEdgestrait HasAnchortrait HasSizetrait MutablePostrait HasPosclass Objecttrait Matchableclass AnyShow all
- Known subtypes
-
trait MovingObjectInContainer
A supertype for objects that have a mutable position and a velocity in two-dimensional space.
A supertype for objects that have a mutable position and a velocity in two-dimensional space.
Attributes
- Supertypes
A supertype for objects that take up a rectangular area and have a velocity as well as a mutable position that may be constrained by a larger object around them.
A supertype for objects that take up a rectangular area and have a velocity as well as a mutable position that may be constrained by a larger object around them.
Attributes
- Supertypes
-
trait HasVelocitytrait ContainedObjecttrait HasContainertrait HasEdgestrait HasAnchortrait HasSizetrait MutablePostrait HasPosclass Objecttrait Matchableclass AnyShow all
A supertype for objects that have a mutable location in two-dimensional space.
A supertype for objects that have a mutable location in two-dimensional space.
Attributes
- Supertypes
- Known subtypes