Added support for volatile status effects including confusion and flinching. Also, all elements are now supported.
This commit is contained in:
@@ -42,4 +42,12 @@ object YamlHelper {
|
||||
def extractSeq[T](source : InputStream)(implicit m : Manifest[T]) : IndexedSeq[T] = {
|
||||
mapper.readValue[IndexedSeq[T]](source)
|
||||
}
|
||||
|
||||
def extractMap[T](source : Source)(implicit mf : Manifest[T]) : Map[String, T] = {
|
||||
extract[Map[String, T]](source)
|
||||
}
|
||||
|
||||
def extractMap[T](source : InputStream)(implicit m: Manifest[T]) : Map[String, T] = {
|
||||
mapper.readValue[Map[String, T]](source)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user