public function setJugglable(array $attributes)
{
// Check that each of the types are indeed jugglable types
foreach ($attributes as $attribute => $type) {
$this->checkJuggleType($type);
}
// Set the juggle attributes
$this->jugglable = $attributes;
}