diff options
author | Joris | 2019-05-16 09:40:02 +0200 |
---|---|---|
committer | Joris | 2019-05-16 09:40:02 +0200 |
commit | 7bf58894761742d4da8e6f52ce113ea7327e7114 (patch) | |
tree | 388785f65e258e956296977cff4bd1f7ac6e1526 /client/src/model/PoseCategory.scala | |
parent | f015a216f5ee1e335d5ae90dbc8f3efafdca6fec (diff) |
Bootstrap
Diffstat (limited to 'client/src/model/PoseCategory.scala')
-rw-r--r-- | client/src/model/PoseCategory.scala | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/client/src/model/PoseCategory.scala b/client/src/model/PoseCategory.scala new file mode 100644 index 0000000..95eb974 --- /dev/null +++ b/client/src/model/PoseCategory.scala @@ -0,0 +1,18 @@ +package yoga.model + +import scala.collection.immutable.IndexedSeq + +import enumeratum.{ Enum, EnumEntry } + +sealed trait PoseCategory extends EnumEntry + +object PoseCategory extends Enum[PoseCategory] { + + case object Standing extends PoseCategory + case object Balancing extends PoseCategory + case object Sitting extends PoseCategory + case object Reclining extends PoseCategory + + val values: IndexedSeq[PoseCategory] = findValues + +} |